2018-10-29 16:21:46 +00:00
|
|
|
{ stdenv
|
|
|
|
, 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 ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|