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