about summary refs log tree commit diff
path: root/pkgs/development/python-modules/grequests/default.nix
blob: 41632258f64f2303b7f18ba676c603890d7dbe31 (plain) (blame)
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;
    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 ];
  };
}