tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
python310Packages.requests-mock: 1.10.0 -> 1.11.0
Theodore Ni
2 years ago
67d8fed6
8066e45f
+18
-11
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
requests-mock
default.nix
+18
-11
pkgs/development/python-modules/requests-mock/default.nix
···
1
1
-
{ lib, buildPythonPackage, fetchPypi, python
2
2
-
, mock
1
1
+
{ lib
2
2
+
, buildPythonPackage
3
3
+
, fetchPypi
4
4
+
, fixtures
3
5
, purl
6
6
+
, pytestCheckHook
7
7
+
, python
4
8
, requests
9
9
+
, requests-futures
5
10
, six
6
6
-
, testrepository
7
11
, testtools
8
8
-
, pytest
9
12
}:
10
13
11
14
buildPythonPackage rec {
12
15
pname = "requests-mock";
13
13
-
version = "1.10.0";
16
16
+
version = "1.11.0";
17
17
+
format = "setuptools";
14
18
15
19
src = fetchPypi {
16
20
inherit pname version;
17
17
-
hash = "sha256-WcnDJBmp+xroPsJC2Y6InEW9fXpl1IN1zCQ+wIRBZYs=";
21
21
+
hash = "sha256-7xC1crSJpfKOCbcIaXIIxKOyuJ74Cp8BWENA6jV+w8Q=";
18
22
};
19
23
20
20
-
patchPhase = ''
21
21
-
sed -i 's@python@${python.interpreter}@' .testr.conf
22
22
-
'';
23
23
-
24
24
propagatedBuildInputs = [ requests six ];
25
25
26
26
-
nativeCheckInputs = [ mock purl testrepository testtools pytest ];
26
26
+
nativeCheckInputs = [
27
27
+
fixtures
28
28
+
purl
29
29
+
pytestCheckHook
30
30
+
requests-futures
31
31
+
testtools
32
32
+
];
27
33
28
34
meta = with lib; {
29
35
description = "Mock out responses from the requests package";
30
36
homepage = "https://requests-mock.readthedocs.io";
37
37
+
changelog = "https://github.com/jamielennox/requests-mock/releases/tag/${version}";
31
38
license = licenses.asl20;
32
39
maintainers = [ ];
33
40
};