2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
pygobject3,
|
|
|
|
dbus,
|
|
|
|
hatchling,
|
|
|
|
pytestCheckHook,
|
|
|
|
}:
|
2022-03-05 16:20:37 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "dasbus";
|
2023-02-02 18:25:31 +00:00
|
|
|
version = "unstable-11-10-2022";
|
|
|
|
format = "pyproject";
|
2022-03-05 16:20:37 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rhinstaller";
|
|
|
|
repo = pname;
|
|
|
|
rev = "64b6b4d9e37cd7e0cbf4a7bf75faa7cdbd01086d";
|
|
|
|
hash = "sha256-TmhhDrfpP+nUErAd7dUb+RtGBRtWwn3bYOoIqa0VRoc=";
|
2022-03-05 16:20:37 +00:00
|
|
|
};
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeBuildInputs = [ hatchling ];
|
2022-03-05 16:20:37 +00:00
|
|
|
propagatedBuildInputs = [ pygobject3 ];
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeCheckInputs = [
|
|
|
|
dbus
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
2022-03-05 16:20:37 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/rhinstaller/dasbus";
|
|
|
|
description = "DBus library in Python3";
|
|
|
|
license = licenses.lgpl21Only;
|
2024-01-02 11:29:13 +00:00
|
|
|
maintainers = with maintainers; [ moni ];
|
2022-03-05 16:20:37 +00:00
|
|
|
};
|
|
|
|
}
|