blob: 3ea1bf58d8af28102086bd566b9ae2cf709ce564 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{ buildPythonPackage, fetchPypi, python
, mock, testrepository, testtools
, requests, six }:
buildPythonPackage rec {
pname = "requests-mock";
version = "1.5.2";
src = fetchPypi {
inherit pname version;
sha256 = "7a5fa99db5e3a2a961b6f20ed40ee6baeff73503cf0a553cc4d679409e6170fb";
};
patchPhase = ''
sed -i 's@python@${python.interpreter}@' .testr.conf
'';
checkInputs = [ mock testrepository testtools ];
propagatedBuildInputs = [ requests six ];
}
|