Merge pull request #253517 from fabaff/simplepush
python311Packages.simplepush: init at 2.2.3
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user