about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/linien-client/default.nix
blob: 0cbd9b2d9adb051c8a48cbdf0c42bde623dd767b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{ 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 ];
  };
}