Merge pull request #253517 from fabaff/simplepush

python311Packages.simplepush: init at 2.2.3

authored by

Fabian Affolter and committed by
GitHub
0aa6d4fd a68e0aa4

+53 -1
+48
pkgs/development/python-modules/simplepush/default.nix
··· 1 + { lib 2 + , aiohttp 3 + , buildPythonPackage 4 + , cryptography 5 + , fetchFromGitHub 6 + , pythonOlder 7 + , requests 8 + , setuptools 9 + }: 10 + 11 + buildPythonPackage rec { 12 + pname = "simplepush"; 13 + version = "2.2.3"; 14 + format = "pyproject"; 15 + 16 + disabled = pythonOlder "3.7"; 17 + 18 + src = fetchFromGitHub { 19 + owner = "simplepush"; 20 + repo = "simplepush-python"; 21 + rev = "refs/tags/v${version}"; 22 + hash = "sha256-DvDPihhx1rzJN6iQP5rHluplJ1AaN0b/glcd+tZCues="; 23 + }; 24 + 25 + nativeBuildInputs = [ 26 + setuptools 27 + ]; 28 + 29 + propagatedBuildInputs = [ 30 + aiohttp 31 + cryptography 32 + requests 33 + ]; 34 + 35 + # Module has no tests 36 + doCheck = false; 37 + 38 + pythonImportsCheck = [ 39 + "simplepush" 40 + ]; 41 + 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 + }; 48 + }
+3 -1
pkgs/servers/home-assistant/component-packages.nix
··· 3728 3728 pysignalclirestapi 3729 3729 ]; 3730 3730 "simplepush" = ps: with ps; [ 3731 - ]; # missing inputs: simplepush 3731 + simplepush 3732 + ]; 3732 3733 "simplisafe" = ps: with ps; [ 3733 3734 simplisafe-python 3734 3735 ]; ··· 5401 5402 "sigfox" 5402 5403 "sighthound" 5403 5404 "signal_messenger" 5405 + "simplepush" 5404 5406 "simplisafe" 5405 5407 "simulated" 5406 5408 "siren"
+2
pkgs/top-level/python-packages.nix
··· 11798 11798 11799 11799 simplenote = callPackage ../development/python-modules/simplenote { }; 11800 11800 11801 + simplepush = callPackage ../development/python-modules/simplepush { }; 11802 + 11801 11803 simplesat = callPackage ../development/python-modules/simplesat { }; 11802 11804 11803 11805 simple-di = callPackage ../development/python-modules/simple-di { };