about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/grequests/default.nix
blob: c42ace2e695bd4c35ff6c8c6cabb90926cf9b10c (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
{ stdenv
, buildPythonPackage
, fetchPypi
, requests
, gevent
}:

buildPythonPackage rec {
  pname = "grequests";
  version = "0.3.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "0lafzax5igbh8y4x0krizr573wjsxz7bhvwygiah6qwrzv83kv5c";
  };

  # No tests in archive
  doCheck = false;

  propagatedBuildInputs = [ requests gevent ];

  meta = with stdenv.lib; {
    description = "Asynchronous HTTP requests";
    homepage = https://github.com/kennethreitz/grequests;
    license = with licenses; [ bsd2 ];
    maintainers = with maintainers; [ matejc ];
  };

}