at master 647 B view raw
1{ 2 pkgs, 3 lib, 4 buildPythonPackage, 5 fetchPypi, 6 pkg-config, 7}: 8 9let 10 pname = "sdbus"; 11 version = "0.14.1.post0"; 12in 13buildPythonPackage { 14 format = "setuptools"; 15 inherit pname version; 16 17 nativeBuildInputs = [ pkg-config ]; 18 buildInputs = [ pkgs.systemd ]; 19 20 src = fetchPypi { 21 inherit pname version; 22 hash = "sha256-rjkVqz4/ChFmMuHlh235krlSnoKwtJIAbrIvh5Htbes="; 23 }; 24 25 meta = with lib; { 26 description = "Modern Python library for D-Bus"; 27 homepage = "https://github.com/python-sdbus/python-sdbus"; 28 license = licenses.lgpl2; 29 maintainers = with maintainers; [ camelpunch ]; 30 platforms = platforms.linux; 31 }; 32}