Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pysmartapp / default.nix
blobe404ef905de131cea6187bdb90eb044284814060
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.5";
13   format = "setuptools";
15   disabled = pythonOlder "3.8";
17   src = fetchFromGitHub {
18     owner = "andrewsayre";
19     repo = pname;
20     rev = version;
21     hash = "sha256-RiRGOO5l5hcHllyDDGLtQHr51JOTZhAa/wK8BfMqmAY=";
22   };
24   propagatedBuildInputs = [
25     httpsig
26   ];
28   nativeCheckInputs = [
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   };