504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
41 lines
786 B
Nix
41 lines
786 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 = "source/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 ];
|
|
};
|
|
}
|