12 buildPythonPackage rec {
13 pname = "desktop-notifier";
16 disabled = pythonOlder "3.6";
18 src = fetchFromGitHub {
21 rev = "refs/tags/v${version}";
22 sha256 = "sha256-cqPLnahs3fT6AfQQkS5azh4/cHzaexytg78RsJG5c6U=";
29 propagatedBuildInputs = [
31 ] ++ lib.optionals (pythonOlder "3.9") [
33 ] ++ lib.optionals stdenv.isLinux [
37 # no tests available, do the imports check instead
39 pythonImportsCheck = [ "desktop_notifier" ];
42 homepage = "https://github.com/samschott/desktop-notifier";
43 description = "A Python library for cross-platform desktop notifications";
44 license = licenses.mit;
45 maintainers = with maintainers; [ sfrijters ];
46 platforms = platforms.linux;