Files
nixpkgs/pkgs/development/python-modules/sdbus/default.nix
2025-09-19 09:44:51 +00:00

33 lines
647 B
Nix

{
pkgs,
lib,
buildPythonPackage,
fetchPypi,
pkg-config,
}:
let
pname = "sdbus";
version = "0.14.1.post0";
in
buildPythonPackage {
format = "setuptools";
inherit pname version;
nativeBuildInputs = [ pkg-config ];
buildInputs = [ pkgs.systemd ];
src = fetchPypi {
inherit pname version;
hash = "sha256-rjkVqz4/ChFmMuHlh235krlSnoKwtJIAbrIvh5Htbes=";
};
meta = with lib; {
description = "Modern Python library for D-Bus";
homepage = "https://github.com/python-sdbus/python-sdbus";
license = licenses.lgpl2;
maintainers = with maintainers; [ camelpunch ];
platforms = platforms.linux;
};
}