aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/python-modules/pushover-complete
diff options
context:
space:
mode:
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/development/python-modules/pushover-complete')
-rw-r--r--infra/libkookie/nixpkgs/pkgs/development/python-modules/pushover-complete/default.nix38
1 files changed, 38 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/development/python-modules/pushover-complete/default.nix b/infra/libkookie/nixpkgs/pkgs/development/python-modules/pushover-complete/default.nix
new file mode 100644
index 000000000000..e588ae9f796e
--- /dev/null
+++ b/infra/libkookie/nixpkgs/pkgs/development/python-modules/pushover-complete/default.nix
@@ -0,0 +1,38 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, requests
+, six
+, tox
+, pytest
+, pythonOlder
+}:
+
+buildPythonPackage rec {
+ pname = "pushover-complete";
+ version = "1.1.1";
+
+ src = fetchPypi {
+ pname = "pushover_complete";
+ inherit version;
+ sha256 = "8a8f867e1f27762a28a0832c33c6003ca54ee04c935678d124b4c071f7cf5a1f";
+ };
+
+ propagatedBuildInputs = [
+ requests
+ six
+ ];
+
+ checkInputs = [ pytest tox ];
+
+ # Fails also on their travis right now:
+ # - https://travis-ci.org/scolby33/pushover_complete/builds?utm_medium=notification&utm_source=github_status
+ doCheck = pythonOlder "3.7";
+
+ meta = with lib; {
+ description = "A Python package for interacting with *all* aspects of the Pushover API";
+ homepage = "https://github.com/scolby33/pushover_complete";
+ license = licenses.mit;
+ maintainers = [ maintainers.mic92 ];
+ };
+}