about summary refs log tree commit diff
path: root/pkgs/development/python-modules/notify2/default.nix
blob: b2e5c33faaa469c8228306abd11443ba2a4095b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
  buildPythonPackage,
  lib,
  fetchPypi,
  pygobject3,
  dbus-python,
}:

buildPythonPackage rec {
  pname = "notify2";
  version = "0.3.1";
  format = "setuptools";

  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 ];
  };
}