mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-10 22:30:59 +00:00
44 lines
1.0 KiB
Nix
44 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
into-dbus-python,
|
|
dbus-python,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "dbus-python-client-gen";
|
|
version = "0.8.5";
|
|
pyproject = true;
|
|
|
|
__structuredAttrs = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "stratis-storage";
|
|
repo = "dbus-python-client-gen";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-O1fx/u83bP/6rblEYE6KASlV7gzIYXWMbZm5erPxCbM=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
into-dbus-python
|
|
dbus-python
|
|
];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "dbus_python_client_gen" ];
|
|
|
|
meta = {
|
|
description = "Python library for generating dbus-python client code";
|
|
homepage = "https://github.com/stratis-storage/dbus-python-client-gen";
|
|
changelog = "https://github.com/stratis-storage/dbus-python-client-gen/blob/v${finalAttrs.version}/CHANGES.txt";
|
|
license = lib.licenses.mpl20;
|
|
maintainers = with lib.maintainers; [ nickcao ];
|
|
};
|
|
})
|