Files
nixpkgs/pkgs/development/python-modules/grequests/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
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>
2025-12-10 18:09:49 +01:00

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 ];
};
}