depot/third_party/nixpkgs/pkgs/development/python-modules/notify2/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

32 lines
642 B
Nix

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