567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
34 lines
607 B
Nix
34 lines
607 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
requests,
|
|
gevent,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "grequests";
|
|
version = "0.7.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-XDPxQmjfW4+hEH2FN4Fb5v67rW7FYFJNakBLd3jPa6Y=";
|
|
};
|
|
|
|
# No tests in archive
|
|
doCheck = false;
|
|
|
|
propagatedBuildInputs = [
|
|
requests
|
|
gevent
|
|
];
|
|
|
|
meta = {
|
|
description = "Asynchronous HTTP requests";
|
|
homepage = "https://github.com/kennethreitz/grequests";
|
|
license = with lib.licenses; [ bsd2 ];
|
|
maintainers = with lib.maintainers; [ matejc ];
|
|
};
|
|
}
|