lnxlink-flake/packages/dbus-idle.nix
2025-10-30 09:47:14 +01:00

31 lines
671 B
Nix

{pkgs ? import <nixpkgs> {}}:
with pkgs.python3Packages;
buildPythonPackage rec {
pname = "dbus-idle";
version = "2025.5.1";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "dbus_idle";
version = version;
sha256 = "sha256-Q4nU5/f/LHmbTLfsVKqRE6M3N6bNqSGyN6BeWcJQonY=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "setuptools~=68.0.0" "setuptools" \
--replace-fail "wheel~=0.40.0" "wheel"
'';
build-system = [setuptools];
dependencies = [
# Build system
setuptools
wheel
# dependencies
jeepney
];
}