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