2017-09-20 12:52:04 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pbr }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "requestsexceptions";
|
2018-02-03 09:54:22 +00:00
|
|
|
version = "1.4.0";
|
2017-09-20 12:52:04 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-02-03 09:54:22 +00:00
|
|
|
sha256 = "b095cbc77618f066d459a02b137b020c37da9f46d9b057704019c9f77dba3065";
|
2017-09-20 12:52:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pbr ];
|
|
|
|
|
|
|
|
# upstream hacking package is not required for functional testing
|
|
|
|
patchPhase = ''
|
|
|
|
sed -i '/^hacking/d' test-requirements.txt
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Import exceptions from potentially bundled packages in requests.";
|
|
|
|
homepage = "https://pypi.python.org/pypi/requestsexceptions";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ makefu ];
|
2017-12-05 22:20:11 +00:00
|
|
|
platforms = platforms.all;
|
2017-09-20 12:52:04 +00:00
|
|
|
};
|
|
|
|
}
|