Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / simplepush / default.nix
blobe7461a850b301ec97d1b4368bf87bbd54485d846
1 { lib
2 , aiohttp
3 , buildPythonPackage
4 , cryptography
5 , fetchFromGitHub
6 , pythonOlder
7 , requests
8 , setuptools
9 }:
11 buildPythonPackage rec {
12   pname = "simplepush";
13   version = "2.2.3";
14   format = "pyproject";
16   disabled = pythonOlder "3.7";
18   src = fetchFromGitHub {
19     owner = "simplepush";
20     repo = "simplepush-python";
21     rev = "refs/tags/v${version}";
22     hash = "sha256-DvDPihhx1rzJN6iQP5rHluplJ1AaN0b/glcd+tZCues=";
23   };
25   nativeBuildInputs = [
26     setuptools
27   ];
29   propagatedBuildInputs = [
30     aiohttp
31     cryptography
32     requests
33   ];
35   # Module has no tests
36   doCheck = false;
38   pythonImportsCheck = [
39     "simplepush"
40   ];
42   meta = with lib; {
43     description = "Module to send push notifications via Simplepush";
44     homepage = "https://github.com/simplepush/simplepush-python";
45     license = licenses.mit;
46     maintainers = with maintainers; [ fab ];
47   };