1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00
VILLASnode/packaging/nix/python.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
427 B
Nix
Raw Permalink Normal View History

# SPDX-FileCopyrightText: 2023 OPAL-RT Germany GmbH
# SPDX-License-Identifier: Apache-2.0
{
src,
python3Packages,
villas-minimal,
}:
python3Packages.buildPythonPackage {
name = "villas-python";
src = src;
propagatedBuildInputs = with python3Packages; [
linuxfd
requests
villas-minimal
];
nativeCheckInputs = with python3Packages; [
black
flake8
mypy
pytest
types-requests
];
}