https://github.com/NixOS/nixpkgs/pull/403654 was accepted for KlipperScreen, but I neglected to add metadata to its Python dependencies.
32 lines
616 B
Nix
32 lines
616 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pkg-config,
|
|
}:
|
|
|
|
let
|
|
pname = "sdbus";
|
|
version = "0.14.0";
|
|
in
|
|
buildPythonPackage {
|
|
inherit pname version;
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ pkgs.systemd ];
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-QdYbdswFqepB0Q1woR6fmobtlfQPcTYwxeGDQODkx28=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|