mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-11-27 08:20:13 +00:00
49 lines
921 B
Nix
49 lines
921 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
dbus-signature-pyparsing,
|
|
dbus-python,
|
|
pytestCheckHook,
|
|
hypothesis,
|
|
hs-dbus-signature,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "into-dbus-python";
|
|
version = "0.8.4";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "stratis-storage";
|
|
repo = "into-dbus-python";
|
|
rev = "v${version}";
|
|
hash = "sha256-9sCJM/nQOxZ+0096iCmIzui0jcDNKT9pFfNlRun25HU=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools
|
|
];
|
|
|
|
dependencies = [
|
|
dbus-signature-pyparsing
|
|
dbus-python
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
hypothesis
|
|
hs-dbus-signature
|
|
];
|
|
|
|
pythonImportsCheck = [ "into_dbus_python" ];
|
|
|
|
meta = {
|
|
description = "Transformer to dbus-python types";
|
|
homepage = "https://github.com/stratis-storage/into-dbus-python";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ nickcao ];
|
|
};
|
|
}
|