14 buildPythonPackage rec {
15 pname = "desktop-notifier";
19 disabled = pythonOlder "3.7";
21 src = fetchFromGitHub {
23 repo = "desktop-notifier";
25 hash = "sha256-HynREkiPxv/1y1/ICVwqANIe9tAkIvdpDy4oXxQarec=";
28 build-system = [ setuptools ];
35 ++ lib.optionals stdenv.hostPlatform.isLinux [ dbus-fast ]
36 ++ lib.optionals stdenv.hostPlatform.isDarwin [ rubicon-objc ];
38 # no tests available, do the imports check instead
41 pythonImportsCheck = [ "desktop_notifier" ];
44 description = "Python library for cross-platform desktop notifications";
45 homepage = "https://github.com/samschott/desktop-notifier";
46 changelog = "https://github.com/samschott/desktop-notifier/releases/tag/v${version}";
47 license = licenses.mit;
48 maintainers = with maintainers; [ sfrijters ];