depot/third_party/nixpkgs/pkgs/development/python-modules/dasbus/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

36 lines
758 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pygobject3,
dbus,
hatchling,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "dasbus";
version = "unstable-11-10-2022";
format = "pyproject";
src = fetchFromGitHub {
owner = "rhinstaller";
repo = pname;
rev = "64b6b4d9e37cd7e0cbf4a7bf75faa7cdbd01086d";
hash = "sha256-TmhhDrfpP+nUErAd7dUb+RtGBRtWwn3bYOoIqa0VRoc=";
};
nativeBuildInputs = [ hatchling ];
propagatedBuildInputs = [ pygobject3 ];
nativeCheckInputs = [
dbus
pytestCheckHook
];
meta = with lib; {
homepage = "https://github.com/rhinstaller/dasbus";
description = "DBus library in Python3";
license = licenses.lgpl21Only;
maintainers = with maintainers; [ moni ];
};
}