Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytestCheckHook 5, hypothesis 6}: 7 8buildPythonPackage rec { 9 pname = "hs-dbus-signature"; 10 version = "0.7"; 11 12 src = fetchPypi { 13 inherit pname version; 14 hash = "sha256-NNnTcSX+K8zU+sj1QBd13h7aEXN9VqltJMNWCuhgZ6I="; 15 }; 16 17 nativeCheckInputs = [ 18 pytestCheckHook 19 hypothesis 20 ]; 21 22 pythonImportsCheck = [ "hs_dbus_signature" ]; 23 24 meta = with lib; { 25 description = "A Hypothesis Strategy for Generating Arbitrary DBus Signatures"; 26 homepage = "https://github.com/stratis-storage/hs-dbus-signature"; 27 license = licenses.mpl20; 28 maintainers = with maintainers; [ nickcao ]; 29 }; 30}