depot/third_party/nixpkgs/pkgs/development/python-modules/grequests/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

30 lines
595 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, requests
, gevent
}:
buildPythonPackage rec {
pname = "grequests";
version = "0.7.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-XDPxQmjfW4+hEH2FN4Fb5v67rW7FYFJNakBLd3jPa6Y=";
};
# 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 ];
};
}