at master 633 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 pythonOlder, 7}: 8 9buildPythonPackage rec { 10 pname = "pretend"; 11 version = "1.0.9"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchFromGitHub { 17 owner = "alex"; 18 repo = "pretend"; 19 rev = "v${version}"; 20 hash = "sha256-OqMfeIMFNBBLq6ejR3uOCIHZ9aA4zew7iefVlAsy1JQ="; 21 }; 22 23 nativeCheckInputs = [ pytestCheckHook ]; 24 25 pythonImportsCheck = [ "pretend" ]; 26 27 meta = with lib; { 28 description = "Module for stubbing"; 29 homepage = "https://github.com/alex/pretend"; 30 license = licenses.bsd3; 31 maintainers = [ ]; 32 }; 33}