blob: 4a1fbfb6a06fd232642de62b3131fdea9798abd8 (
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
|
{
lib,
buildPythonPackage,
fetchPypi,
pbr,
}:
buildPythonPackage rec {
pname = "requestsexceptions";
version = "1.4.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "b095cbc77618f066d459a02b137b020c37da9f46d9b057704019c9f77dba3065";
};
propagatedBuildInputs = [ pbr ];
# upstream hacking package is not required for functional testing
patchPhase = ''
sed -i '/^hacking/d' test-requirements.txt
'';
meta = {
description = "Import exceptions from potentially bundled packages in requests";
homepage = "https://pypi.python.org/pypi/requestsexceptions";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ makefu ];
platforms = lib.platforms.all;
};
}
|