ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / adext / default.nix
blob7b10b0de1b62e9d983cc7a63fb73ea1136cd3a62
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";
13   src = fetchFromGitHub {
14     owner = "ajschmidt8";
15     repo = pname;
16     rev = "v${version}";
17     sha256 = "0h5k9kzms2f0r48pdhsgv8pimk0vsxw8vs0k6880mank8ij914wr";
18   };
20   SETUPTOOLS_SCM_PRETEND_VERSION = version;
22   nativeBuildInputs = [
23     setuptools-scm
24   ];
26   propagatedBuildInputs = [
27     alarmdecoder
28   ];
30   checkInputs = [
31     pytestCheckHook
32   ];
34   pythonImportsCheck = [ "adext" ];
36   meta = with lib; {
37     description = "Python extension for AlarmDecoder";
38     homepage = "https://github.com/ajschmidt8/adext";
39     license = with licenses; [ mit ];
40     maintainers = with maintainers; [ fab ];
41   };