Unverified Commit 0aa6d4fd authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #253517 from fabaff/simplepush

python311Packages.simplepush: init at 2.2.3
parents a68e0aa4 b54d97ae
Loading
Loading
Loading
Loading
+48 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+3 −1
Original line number Diff line number Diff line
@@ -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 −0
Original line number Diff line number Diff line
@@ -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 { };