python-notify2: init at 0.3.1
This commit is contained in:
parent
a78a1d61b5
commit
583ce2b1a9
29
pkgs/development/python-modules/notify2/default.nix
Normal file
29
pkgs/development/python-modules/notify2/default.nix
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
{ buildPythonPackage
|
||||||
|
, lib
|
||||||
|
, fetchPypi
|
||||||
|
, pygobject3
|
||||||
|
, dbus-python
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "notify2";
|
||||||
|
version = "0.3.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0z8rrv9rsg1r2qgh2dxj3dfj5xnki98kgi3w839kqby4a26i1yik";
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
# Tests require Xorg and Dbus instance
|
||||||
|
doCheck = false;
|
||||||
|
propagatedBuildInputs = [ pygobject3
|
||||||
|
dbus-python ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Pure Python interface to DBus notifications";
|
||||||
|
homepage = https://bitbucket.org/takluyver/pynotify2;
|
||||||
|
license = lib.licenses.bsd2;
|
||||||
|
maintainers = with lib.maintainers; [ mog ];
|
||||||
|
};
|
||||||
|
}
|
@ -11319,6 +11319,8 @@ in {
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
notify2 = callPackage ../development/python-modules/notify2 {};
|
||||||
|
|
||||||
notmuch = buildPythonPackage rec {
|
notmuch = buildPythonPackage rec {
|
||||||
name = "python-${pkgs.notmuch.name}";
|
name = "python-${pkgs.notmuch.name}";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user