Files
nixpkgs/pkgs/development/python-modules/linien-client/default.nix

49 lines
987 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)
'';
build-system = [ setuptools ];
dependencies = [
fabric
typing-extensions
numpy
scipy
linien-common
];
pythonImportsCheck = [ "linien_client" ];
meta = {
description = "Client components of the Linien spectroscopy lock application";
homepage = "https://github.com/linien-org/linien/tree/develop/linien-client";
changelog = "https://github.com/linien-org/linien/blob/v${version}/CHANGELOG.md";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [
fsagbuya
doronbehar
];
# See comment near linien-common.meta.broken
broken = lib.versionAtLeast numpy.version "2";
};
}