1{ buildPythonPackage
2, lib
3, fetchPypi
4, pygobject3
5, dbus-python
6}:
7
8buildPythonPackage rec {
9 pname = "notify2";
10 version = "0.3.1";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "0z8rrv9rsg1r2qgh2dxj3dfj5xnki98kgi3w839kqby4a26i1yik";
15 };
16
17
18 # Tests require Xorg and Dbus instance
19 doCheck = false;
20 propagatedBuildInputs = [ pygobject3
21 dbus-python ];
22
23 meta = {
24 description = "Pure Python interface to DBus notifications";
25 homepage = "https://bitbucket.org/takluyver/pynotify2";
26 license = lib.licenses.bsd2;
27 maintainers = with lib.maintainers; [ mog ];
28 };
29}