Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / adext / default.nix
blobc5a05d19bee858dabf75f9f8460e9f05e1b2b892
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , setuptools-scm
5 , alarmdecoder
6 , pytestCheckHook
7 }:
9 buildPythonPackage rec {
10   pname = "adext";
11   version = "0.4.2";
12   format = "setuptools";
14   src = fetchFromGitHub {
15     owner = "ajschmidt8";
16     repo = pname;
17     rev = "v${version}";
18     sha256 = "0h5k9kzms2f0r48pdhsgv8pimk0vsxw8vs0k6880mank8ij914wr";
19   };
21   nativeBuildInputs = [
22     setuptools-scm
23   ];
25   propagatedBuildInputs = [
26     alarmdecoder
27   ];
29   nativeCheckInputs = [
30     pytestCheckHook
31   ];
33   pythonImportsCheck = [ "adext" ];
35   meta = with lib; {
36     description = "Python extension for AlarmDecoder";
37     homepage = "https://github.com/ajschmidt8/adext";
38     license = with licenses; [ mit ];
39     maintainers = with maintainers; [ fab ];
40   };