at master 882 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 precisely, 7 gitUpdater, 8}: 9 10buildPythonPackage rec { 11 pname = "funk"; 12 version = "0.5.0"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "mwilliamson"; 17 repo = "funk"; 18 tag = version; 19 hash = "sha256-dEq3zyA8rtNt0sui2TfQ3OUSCZ0XDMOdthcqt/QrCsU="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 dependencies = [ precisely ]; 25 26 pythonImportsCheck = [ "funk" ]; 27 28 # Disabling tests, they rely on Nose which is outdated and not supported 29 doCheck = false; 30 31 passthru.updateScripts = gitUpdater { }; 32 33 meta = { 34 description = "Mocking framework for Python, influenced by JMock"; 35 homepage = "https://github.com/mwilliamson/funk"; 36 changelog = "https://github.com/mwilliamson/funk/blob/${src.tag}/NEWS"; 37 license = lib.licenses.bsd2; 38 maintainers = with lib.maintainers; [ ]; 39 }; 40}