1{ stdenv
2, buildPythonPackage
3, fetchPypi
4, requests
5, gevent
6}:
7
8buildPythonPackage rec {
9 pname = "grequests";
10 version = "0.3.0";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "0lafzax5igbh8y4x0krizr573wjsxz7bhvwygiah6qwrzv83kv5c";
15 };
16
17 # No tests in archive
18 doCheck = false;
19
20 propagatedBuildInputs = [ requests gevent ];
21
22 meta = with stdenv.lib; {
23 description = "Asynchronous HTTP requests";
24 homepage = https://github.com/kennethreitz/grequests;
25 license = with licenses; [ bsd2 ];
26 maintainers = with maintainers; [ matejc ];
27 };
28
29}