pythonPackages.ntfy: 1.2.0 -> 2.6.0

This commit is contained in:
Chris Ostrouchov 2018-10-25 16:33:27 -04:00 committed by Frederik Rietdijk
parent ad43964627
commit 550d80880d

View File

@ -2,26 +2,32 @@
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, appdirs , appdirs
, pyyaml , ruamel_yaml
, requests , requests
, dbus-python
, emoji , emoji
, sleekxmpp , sleekxmpp
, mock , mock
, psutil
, python
# , dbus-python
}: }:
buildPythonPackage rec { buildPythonPackage rec {
version = "1.2.0"; version = "2.6.0";
pname = "ntfy"; pname = "ntfy";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "dschep"; owner = "dschep";
repo = "ntfy"; repo = "ntfy";
rev = "v${version}"; rev = "v${version}";
sha256 = "0yjxwisxpxy3vpnqk9nw5k3db3xx6wyf6sk1px9m94s30glcq2cc"; sha256 = "0hnwrybbk0gw0c6kw2zpx0x1rh3jb9qyrprcphzkv0jlhzdfkrp1";
}; };
propagatedBuildInputs = [ appdirs pyyaml requests dbus-python emoji sleekxmpp mock ]; propagatedBuildInputs = [ requests ruamel_yaml appdirs mock sleekxmpp emoji psutil ];
checkPhase = ''
HOME=$(mktemp -d) ${python.interpreter} setup.py test
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A utility for sending notifications, on demand and when commands finish"; description = "A utility for sending notifications, on demand and when commands finish";