summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/grequests/default.nix
blob: ee8bd9fdaed36dbc5ee5943535ccb00e5f34ae75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
  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 ];
  };
}