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