pythonPackages.grequests: refactor move to python-modules
This commit is contained in:
parent
1c0b595b05
commit
424082d2fb
29
pkgs/development/python-modules/grequests/default.nix
Normal file
29
pkgs/development/python-modules/grequests/default.nix
Normal file
@ -0,0 +1,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 ];
|
||||
};
|
||||
|
||||
}
|
@ -4330,28 +4330,7 @@ in {
|
||||
|
||||
rpdb = callPackage ../development/python-modules/rpdb { };
|
||||
|
||||
grequests = buildPythonPackage rec {
|
||||
pname = "grequests";
|
||||
version = "0.3.0";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0lafzax5igbh8y4x0krizr573wjsxz7bhvwygiah6qwrzv83kv5c";
|
||||
};
|
||||
|
||||
# No tests in archive
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = with self; [ requests gevent ];
|
||||
|
||||
meta = {
|
||||
description = "Asynchronous HTTP requests";
|
||||
homepage = https://github.com/kennethreitz/grequests;
|
||||
license = with licenses; [ bsd2 ];
|
||||
maintainers = with maintainers; [ matejc ];
|
||||
};
|
||||
};
|
||||
grequests = callPackage ../development/python-modules/grequests { };
|
||||
|
||||
first = callPackage ../development/python-modules/first {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user