diff options
Diffstat (limited to 'pkgs/development/python-modules/grequests/default.nix')
-rw-r--r-- | pkgs/development/python-modules/grequests/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/grequests/default.nix b/pkgs/development/python-modules/grequests/default.nix new file mode 100644 index 000000000000..c42ace2e695b --- /dev/null +++ b/pkgs/development/python-modules/grequests/default.nix @@ -0,0 +1,29 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, requests +, gevent +}: + +buildPythonPackage rec { + pname = "grequests"; + version = "0.3.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "0lafzax5igbh8y4x0krizr573wjsxz7bhvwygiah6qwrzv83kv5c"; + }; + + # No tests in archive + doCheck = false; + + propagatedBuildInputs = [ requests gevent ]; + + meta = with stdenv.lib; { + description = "Asynchronous HTTP requests"; + homepage = https://github.com/kennethreitz/grequests; + license = with licenses; [ bsd2 ]; + maintainers = with maintainers; [ matejc ]; + }; + +} |