depot/third_party/nixpkgs/pkgs/development/python-modules/grequests/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

29 lines
593 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, requests
, gevent
}:
buildPythonPackage rec {
pname = "grequests";
version = "0.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "8aeccc15e60ec65c7e67ee32e9c596ab2196979815497f85cf863465a1626490";
};
# 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 ];
};
}