depot/third_party/nixpkgs/pkgs/development/python-modules/linien-client/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

45 lines
817 B
Nix

{
lib,
buildPythonPackage,
linien-common,
setuptools,
fabric,
typing-extensions,
numpy,
scipy,
}:
buildPythonPackage rec {
pname = "linien-client";
pyproject = true;
inherit (linien-common) src version;
sourceRoot = "${src.name}/linien-client";
preBuild = ''
export HOME=$(mktemp -d)
'';
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
fabric
typing-extensions
numpy
scipy
linien-common
];
pythonImportsCheck = [ "linien_client" ];
meta = with lib; {
description = "Client components of the Linien spectroscopy lock application";
homepage = "https://github.com/linien-org/linien/tree/develop/linien-client";
license = licenses.gpl3Plus;
maintainers = with maintainers; [
fsagbuya
doronbehar
];
};
}