ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / pysmartapp / default.nix
bloba4ab8e58382c340fb41e19fdb7afedea6ea7be97
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , httpsig
5 , pytest-asyncio
6 , pytestCheckHook
7 , pythonOlder
8 }:
10 buildPythonPackage rec {
11   pname = "pysmartapp";
12   version = "0.3.4";
13   format = "setuptools";
15   disabled = pythonOlder "3.8";
17   src = fetchFromGitHub {
18     owner = "andrewsayre";
19     repo = pname;
20     rev = version;
21     sha256 = "sha256-zYjv7wRxQTS4PnNaY69bw9xE6I4DZMocwUzEICBfwqM=";
22   };
24   propagatedBuildInputs = [
25     httpsig
26   ];
28   checkInputs = [
29     pytest-asyncio
30     pytestCheckHook
31   ];
33   pythonImportsCheck = [
34     "pysmartapp"
35   ];
37   meta = with lib; {
38     description = "Python implementation to work with SmartApp lifecycle events";
39     homepage = "https://github.com/andrewsayre/pysmartapp";
40     changelog = "https://github.com/andrewsayre/pysmartapp/releases/tag/${version}";
41     license = with licenses; [ mit ];
42     maintainers = with maintainers; [ fab ];
43   };