1{
2 lib,
3 buildPythonPackage,
4 linien-common,
5 setuptools,
6 fabric,
7 typing-extensions,
8 numpy,
9 scipy,
10}:
11
12buildPythonPackage rec {
13 pname = "linien-client";
14 pyproject = true;
15
16 inherit (linien-common) src version;
17
18 sourceRoot = "${src.name}/linien-client";
19
20 preBuild = ''
21 export HOME=$(mktemp -d)
22 '';
23
24 nativeBuildInputs = [ setuptools ];
25
26 propagatedBuildInputs = [
27 fabric
28 typing-extensions
29 numpy
30 scipy
31 linien-common
32 ];
33
34 pythonImportsCheck = [ "linien_client" ];
35
36 meta = with lib; {
37 description = "Client components of the Linien spectroscopy lock application";
38 homepage = "https://github.com/linien-org/linien/tree/develop/linien-client";
39 changelog = "https://github.com/linien-org/linien/blob/v${version}/CHANGELOG.md";
40 license = licenses.gpl3Plus;
41 maintainers = with maintainers; [
42 fsagbuya
43 doronbehar
44 ];
45 };
46}