2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-29 16:21:46 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, requests
|
|
|
|
, gevent
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "grequests";
|
2020-05-08 23:55:53 +01:00
|
|
|
version = "0.6.0";
|
2018-10-29 16:21:46 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-05-08 23:55:53 +01:00
|
|
|
sha256 = "0rpnim3ppxjdsaa869h1jdimcyc66mamcs593rd7brk8cq68kv3x";
|
2018-10-29 16:21:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# No tests in archive
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests gevent ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-29 16:21:46 +00:00
|
|
|
description = "Asynchronous HTTP requests";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/kennethreitz/grequests";
|
2018-10-29 16:21:46 +00:00
|
|
|
license = with licenses; [ bsd2 ];
|
|
|
|
maintainers = with maintainers; [ matejc ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|