at master 667 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "kgb"; 11 version = "7.2"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "beanbaginc"; 16 repo = "kgb"; 17 tag = "release-${version}"; 18 hash = "sha256-hNJXoUIyrCB9PCWLCmN81F6pBRwZApDR6JWA0adyklw="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 pythonImportsCheck = [ "kgb" ]; 24 25 nativeCheckInputs = [ pytestCheckHook ]; 26 27 meta = { 28 description = "Python function spy support for unit tests"; 29 homepage = "https://github.com/beanbaginc/kgb"; 30 license = lib.licenses.mit; 31 maintainers = with lib.maintainers; [ ]; 32 }; 33}