nixpkgs/pkgs/development/python-modules/dasbus/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

46 lines
907 B
Nix
Raw Normal View History

{
lib,
buildPythonPackage,
fetchFromGitHub,
pygobject3,
dbus,
hatchling,
pytestCheckHook,
}:
2022-02-23 12:01:05 +00:00
buildPythonPackage rec {
pname = "dasbus";
version = "unstable-11-10-2022";
2024-07-18 13:49:53 +00:00
pyproject = true;
2022-02-23 12:01:05 +00:00
src = fetchFromGitHub {
owner = "rhinstaller";
2024-07-18 13:49:53 +00:00
repo = "dasbus";
rev = "64b6b4d9e37cd7e0cbf4a7bf75faa7cdbd01086d";
hash = "sha256-TmhhDrfpP+nUErAd7dUb+RtGBRtWwn3bYOoIqa0VRoc=";
2022-02-23 12:01:05 +00:00
};
2024-07-18 13:49:53 +00:00
build-system = [ hatchling ];
dependencies = [ pygobject3 ];
nativeCheckInputs = [
dbus
pytestCheckHook
];
2022-02-23 12:01:05 +00:00
2024-07-18 13:49:53 +00:00
disabledTestPaths = [
# https://github.com/dasbus-project/dasbus/issues/128
"tests/lib_dbus.py"
"tests/test_dbus.py"
"tests/test_unix.py"
];
2022-02-23 12:01:05 +00:00
meta = with lib; {
homepage = "https://github.com/rhinstaller/dasbus";
description = "DBus library in Python3";
license = licenses.lgpl21Only;
2023-11-17 10:03:27 +00:00
maintainers = with maintainers; [ moni ];
2022-02-23 12:01:05 +00:00
};
}