Skip to content

Commit 959695d

Browse files
committedMay 5, 2017
pythonPackages.grequests: 0.2.0 -> 0.3.0
1 parent ea92931 commit 959695d

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed
 

‎pkgs/top-level/python-packages.nix

+10-5
Original file line numberDiff line numberDiff line change
@@ -28670,19 +28670,24 @@ EOF
2867028670

2867128671

2867228672
grequests = buildPythonPackage rec {
28673-
name = "grequests-0.2.0";
28673+
pname = "grequests";
28674+
version = "0.3.0";
28675+
name = "${pname}-${version}";
2867428676

28675-
src = pkgs.fetchurl {
28676-
url = "mirror://pypi/g/grequests/${name}.tar.gz";
28677+
src = fetchPypi {
28678+
inherit pname version;
2867728679
sha256 = "0lafzax5igbh8y4x0krizr573wjsxz7bhvwygiah6qwrzv83kv5c";
2867828680
};
2867928681

28680-
buildInputs = with self; [ requests gevent ];
28682+
# No tests in archive
28683+
doCheck = false;
28684+
28685+
propagatedBuildInputs = with self; [ requests2 gevent ];
2868128686

2868228687
meta = {
2868328688
description = "Asynchronous HTTP requests";
2868428689
homepage = https://github.com/kennethreitz/grequests;
28685-
license = "bsd";
28690+
license = with licenses; [ bsd2 ];
2868628691
maintainers = with maintainers; [ matejc ];
2868728692
};
2868828693
};

0 commit comments

Comments
 (0)
Please sign in to comment.