1{ lib, buildPythonPackage, fetchFromGitHub, pygobject3, dbus, hatchling, pytestCheckHook }: 2 3buildPythonPackage rec { 4 pname = "dasbus"; 5 version = "unstable-11-10-2022"; 6 format = "pyproject"; 7 8 src = fetchFromGitHub { 9 owner = "rhinstaller"; 10 repo = pname; 11 rev = "64b6b4d9e37cd7e0cbf4a7bf75faa7cdbd01086d"; 12 hash = "sha256-TmhhDrfpP+nUErAd7dUb+RtGBRtWwn3bYOoIqa0VRoc="; 13 }; 14 15 nativeBuildInputs = [ hatchling ]; 16 propagatedBuildInputs = [ pygobject3 ]; 17 nativeCheckInputs = [ dbus pytestCheckHook ]; 18 19 meta = with lib; { 20 homepage = "https://github.com/rhinstaller/dasbus"; 21 description = "DBus library in Python3"; 22 license = licenses.lgpl21Only; 23 maintainers = with maintainers; [ moni ]; 24 }; 25}