1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 into-dbus-python, 6 dbus-python, 7 pytestCheckHook, 8 pythonOlder, 9}: 10 11buildPythonPackage rec { 12 pname = "dbus-python-client-gen"; 13 version = "0.8.3"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchFromGitHub { 19 owner = "stratis-storage"; 20 repo = "dbus-python-client-gen"; 21 tag = "v${version}"; 22 hash = "sha256-4Y4cL254ZlZKF6d6cStIOya3J4ZfypuumwKOdDNzuNc="; 23 }; 24 25 propagatedBuildInputs = [ 26 into-dbus-python 27 dbus-python 28 ]; 29 30 nativeCheckInputs = [ pytestCheckHook ]; 31 32 pythonImportsCheck = [ "dbus_python_client_gen" ]; 33 34 meta = with lib; { 35 description = "Python library for generating dbus-python client code"; 36 homepage = "https://github.com/stratis-storage/dbus-python-client-gen"; 37 changelog = "https://github.com/stratis-storage/dbus-python-client-gen/blob/v${version}/CHANGES.txt"; 38 license = licenses.mpl20; 39 maintainers = with maintainers; [ nickcao ]; 40 }; 41}