From 1b129b0b542d4834fea35a78c85ccd1da2b2d4f5 Mon Sep 17 00:00:00 2001 From: Peter Hoeg Date: Mon, 5 Mar 2018 10:52:59 +0800 Subject: [PATCH] pythonPackages.pushover: init at 0.3 --- .../python-modules/pushover/default.nix | 24 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 3 ++- 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 pkgs/development/python-modules/pushover/default.nix diff --git a/pkgs/development/python-modules/pushover/default.nix b/pkgs/development/python-modules/pushover/default.nix new file mode 100644 index 000000000000..11596716a66b --- /dev/null +++ b/pkgs/development/python-modules/pushover/default.nix @@ -0,0 +1,24 @@ +{ stdenv, buildPythonPackage, fetchPypi +, requests }: + +buildPythonPackage rec { + pname = "python-pushover"; + version = "0.3"; + + src = fetchPypi { + inherit pname version; + sha256 = "0xlghiqd9rsgn7jdhc8v1xh3xspssihrw1vyy85gvjzxa1ah19sk"; + }; + + propagatedBuildInputs = [ requests ]; + + # checks crash + doCheck = false; + + meta = with stdenv.lib; { + description = "Bindings and command line utility for the Pushover notification service"; + homepage = https://github.com/Thibauth/python-pushover; + license = licenses.gpl3; + maintainers = with maintainers; [ peterhoeg ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index d5ca86098587..a61ea7981502 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -12409,7 +12409,6 @@ in { py = callPackage ../development/python-modules/py { }; - pyacoustid = buildPythonPackage rec { name = "pyacoustid-1.1.0"; @@ -12519,6 +12518,8 @@ in { }; }; + python-pushover = callPackage ../development/python-modules/pushover {}; + mongodict = buildPythonPackage rec { name = "mongodict-${version}"; version = "0.3.1";