pythonPackages.desktop-notifier: init at 3.2.0
This commit is contained in:
parent
cb6d8368a3
commit
f9e53c5ad6
|
@ -0,0 +1,38 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, stdenv
|
||||
, packaging
|
||||
, importlib-resources
|
||||
, dbus-next
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "desktop-notifier";
|
||||
version = "3.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-D8/amC6SwXkm8Ao8G2Vn9FNpbqyFJFBUVcngkW5g8k0=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
packaging
|
||||
] ++ lib.optionals (pythonOlder "3.9") [
|
||||
importlib-resources
|
||||
] ++ lib.optionals stdenv.isLinux [
|
||||
dbus-next
|
||||
];
|
||||
|
||||
# no tests available, do the imports check instead
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "desktop_notifier" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/samschott/desktop-notifier";
|
||||
description = "A Python library for cross-platform desktop notifications";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ sfrijters ];
|
||||
};
|
||||
}
|
|
@ -1708,6 +1708,8 @@ in {
|
|||
|
||||
deskcon = callPackage ../development/python-modules/deskcon { };
|
||||
|
||||
desktop-notifier = callPackage ../development/python-modules/desktop-notifier { };
|
||||
|
||||
detox = throw "detox is no longer maintained, and was broken since may 2019"; # added 2020-07-04
|
||||
|
||||
devolo-home-control-api = callPackage ../development/python-modules/devolo-home-control-api { };
|
||||
|
|
Loading…
Reference in New Issue