Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
42 lines
988 B
Nix
42 lines
988 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
into-dbus-python,
|
|
dbus-python,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "dbus-python-client-gen";
|
|
version = "0.8.3";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "stratis-storage";
|
|
repo = "dbus-python-client-gen";
|
|
tag = "v${version}";
|
|
hash = "sha256-4Y4cL254ZlZKF6d6cStIOya3J4ZfypuumwKOdDNzuNc=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
into-dbus-python
|
|
dbus-python
|
|
];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "dbus_python_client_gen" ];
|
|
|
|
meta = with lib; {
|
|
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${version}/CHANGES.txt";
|
|
license = licenses.mpl20;
|
|
maintainers = with maintainers; [ nickcao ];
|
|
};
|
|
}
|