about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/adext/default.nix
blob: 12c86bfc8f5f3409ca40d98d35f229960883b35f (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
{ lib
, buildPythonPackage
, fetchPypi
, setuptools-scm
, alarmdecoder
}:

buildPythonPackage rec {
  pname = "adext";
  version = "0.4.1";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1yz1rpfvhbf7kfjck5vadbj9rd3bkx5248whaa3impdrjh7vs03x";
  };

  nativeBuildInputs = [
    setuptools-scm
  ];

  propagatedBuildInputs = [
    alarmdecoder
  ];

  # Tests are not published yet
  doCheck = false;
  pythonImportsCheck = [ "adext" ];

  meta = with lib; {
    description = "Python extension for AlarmDecoder";
    homepage = "https://github.com/ajschmidt8/adext";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ fab ];
  };
}