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 build-system = [ setuptools ];
25
26 dependencies = [
27 fabric
28 typing-extensions
29 numpy
30 scipy
31 linien-common
32 ];
33
34 pythonImportsCheck = [ "linien_client" ];
35
36 meta = {
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 = lib.licenses.gpl3Plus;
41 maintainers = with lib.maintainers; [
42 fsagbuya
43 doronbehar
44 ];
45 # See comment near linien-common.meta.broken
46 broken = lib.versionAtLeast numpy.version "2";
47 };
48}