blob: 23aff9befea6c2776cbfca3547b8c4230ecc4fac (
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
|
{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "mock";
version = "5.2.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-TkYOgYYptLFz8y0IvzDTr4Ejr7uOBLtXB6H9R5nlA/A=";
};
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "mock" ];
meta = {
description = "Rolling backport of unittest.mock for all Pythons";
homepage = "https://github.com/testing-cabal/mock";
changelog = "https://github.com/testing-cabal/mock/blob/${version}/CHANGELOG.rst";
license = lib.licenses.bsd2;
maintainers = [ ];
};
}
|