blob: 6a78d60544dbd3cae21b2b1f0f9bb4e745f347cc (
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
34
35
36
|
{ stdenv
, buildPythonPackage
, fetchPypi
, pytest
, gevent
, certifi
, six
, backports_ssl_match_hostname
}:
buildPythonPackage rec {
pname = "geventhttpclient";
version = "1.3.1";
src = fetchPypi {
inherit pname version;
sha256 = "bd87af8854f5fb05738916c8973671f7035568aec69b7c842887d6faf9c0a01d";
};
buildInputs = [ pytest ];
propagatedBuildInputs = [ gevent certifi six backports_ssl_match_hostname ];
# Several tests fail that require network
doCheck = false;
checkPhase = ''
py.test $out
'';
meta = with stdenv.lib; {
homepage = https://github.com/gwik/geventhttpclient;
description = "HTTP client library for gevent";
license = licenses.mit;
maintainers = with maintainers; [ koral ];
};
}
|