blob: 0f159f2a20200af7f09d016599d48c37a3aac8d3 (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
{
lib,
buildPythonPackage,
fetchPypi,
fixtures,
purl,
pytestCheckHook,
requests,
requests-futures,
setuptools,
setuptools-scm,
testtools,
}:
buildPythonPackage rec {
pname = "requests-mock";
version = "1.12.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-6eEuMztSUVboKjyFLyIBa5FYIg0vR0VN6crop303FAE=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [ requests ];
nativeCheckInputs = [
fixtures
purl
pytestCheckHook
requests-futures
testtools
];
meta = {
description = "Mock out responses from the requests package";
homepage = "https://requests-mock.readthedocs.io";
changelog = "https://github.com/jamielennox/requests-mock/releases/tag/${version}";
license = lib.licenses.asl20;
maintainers = [ ];
};
}
|