31 lines
688 B
Nix
31 lines
688 B
Nix
{pkgs ? import <nixpkgs> {}}:
|
|
with pkgs.python3Packages;
|
|
buildPythonPackage rec {
|
|
pname = "dbus-notification";
|
|
version = "2025.10.1";
|
|
pyproject = true;
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
pname = "dbus_notification";
|
|
version = version;
|
|
sha256 = "sha256-oEcnh985STL/AnLWUULiXEhxq+tcrAGlYpX9Yz7oEWQ=";
|
|
};
|
|
|
|
postPatch = ''
|
|
substituteInPlace pyproject.toml \
|
|
--replace-fail "setuptools~=69.2.0" "setuptools" \
|
|
--replace-fail "wheel~=0.43.0" "wheel"
|
|
'';
|
|
|
|
build-system = [setuptools];
|
|
|
|
dependencies = [
|
|
# Build system
|
|
setuptools
|
|
wheel
|
|
|
|
# dependencies
|
|
jeepney
|
|
];
|
|
}
|