My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/notify2/default.nix

29 lines
629 B

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