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