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