Merge pull request #253517 from fabaff/simplepush

python311Packages.simplepush: init at 2.2.3
This commit is contained in:
Fabian Affolter
2023-09-07 10:16:48 +02:00
committed by GitHub
3 changed files with 53 additions and 1 deletions
@@ -0,0 +1,48 @@
{ lib
, aiohttp
, buildPythonPackage
, cryptography
, fetchFromGitHub
, pythonOlder
, requests
, setuptools
}:
buildPythonPackage rec {
pname = "simplepush";
version = "2.2.3";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "simplepush";
repo = "simplepush-python";
rev = "refs/tags/v${version}";
hash = "sha256-DvDPihhx1rzJN6iQP5rHluplJ1AaN0b/glcd+tZCues=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
aiohttp
cryptography
requests
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"simplepush"
];
meta = with lib; {
description = "Module to send push notifications via Simplepush";
homepage = "https://github.com/simplepush/simplepush-python";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}
@@ -3728,7 +3728,8 @@
pysignalclirestapi
];
"simplepush" = ps: with ps; [
]; # missing inputs: simplepush
simplepush
];
"simplisafe" = ps: with ps; [
simplisafe-python
];
@@ -5401,6 +5402,7 @@
"sigfox"
"sighthound"
"signal_messenger"
"simplepush"
"simplisafe"
"simulated"
"siren"
+2
View File
@@ -11798,6 +11798,8 @@ self: super: with self; {
simplenote = callPackage ../development/python-modules/simplenote { };
simplepush = callPackage ../development/python-modules/simplepush { };
simplesat = callPackage ../development/python-modules/simplesat { };
simple-di = callPackage ../development/python-modules/simple-di { };