at master 743 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 hatchling, 6 numpy, 7 pytestCheckHook, 8 pythonOlder, 9}: 10 11buildPythonPackage rec { 12 pname = "mockito"; 13 version = "1.5.4"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchPypi { 19 inherit pname version; 20 hash = "sha256-8A7Vh8MpZt8yk8KUytsxdpRgrfxBVPUrkGcpRqpLMt8="; 21 }; 22 23 nativeBuildInputs = [ hatchling ]; 24 25 nativeCheckInputs = [ 26 numpy 27 pytestCheckHook 28 ]; 29 30 pythonImportsCheck = [ "mockito" ]; 31 32 meta = with lib; { 33 description = "Spying framework"; 34 homepage = "https://github.com/kaste/mockito-python"; 35 changelog = "https://github.com/kaste/mockito-python/blob/${version}/CHANGES.txt"; 36 license = licenses.mit; 37 maintainers = [ ]; 38 }; 39}