depot/third_party/nixpkgs/pkgs/development/python-modules/grequests/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

29 lines
571 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, requests
, gevent
}:
buildPythonPackage rec {
pname = "grequests";
version = "0.6.0";
src = fetchPypi {
inherit pname version;
sha256 = "0rpnim3ppxjdsaa869h1jdimcyc66mamcs593rd7brk8cq68kv3x";
};
# No tests in archive
doCheck = false;
propagatedBuildInputs = [ requests gevent ];
meta = with lib; {
description = "Asynchronous HTTP requests";
homepage = "https://github.com/kennethreitz/grequests";
license = with licenses; [ bsd2 ];
maintainers = with maintainers; [ matejc ];
};
}