Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 46 lines
Nix
at llvm-cleanup
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, stdenv, packaging, setuptools, dbus-next, rubicon-objc,}:
buildPythonPackage rec { pname = "desktop-notifier"; version = "4.0.0"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "SamSchott"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-6FtxfY0vjCbCueeXdAXOy6XSjne4I7brQ5OvJ+Q1KsQ="; };
build-system = [ setuptools ];
dependencies = [ packaging ] ++ lib.optionals stdenv.isLinux [ dbus-next ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ rubicon-objc ];
# no tests available, do the imports check instead doCheck = false;
pythonImportsCheck = [ "desktop_notifier" ];
meta = with lib; { description = "Python library for cross-platform desktop notifications"; homepage = "https://github.com/samschott/desktop-notifier"; changelog = "https://github.com/samschott/desktop-notifier/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ sfrijters ]; };}