3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #130535 from applePrincess/add-requests-futures

python3Packages.requests-futures: init at 1.0.0
This commit is contained in:
Sandro 2021-07-21 16:48:27 +02:00 committed by GitHub
commit 81c6210351
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ buildPythonPackage, fetchPypi, requests, lib }:
buildPythonPackage rec {
pname = "requests-futures";
version = "1.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "35547502bf1958044716a03a2f47092a89efe8f9789ab0c4c528d9c9c30bc148";
};
propagatedBuildInputs = [ requests ];
# tests are disabled because they require being online
doCheck = false;
pythonImportsCheck = [ "requests_futures" ];
meta = with lib; {
description = "Asynchronous Python HTTP Requests for Humans using Futures";
homepage = "https://github.com/ross/requests-futures";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ applePrincess ];
};
}

View file

@ -7548,6 +7548,8 @@ in {
requests-file = callPackage ../development/python-modules/requests-file { };
requests-futures = callPackage ../development/python-modules/requests-futures { };
requests-http-signature = callPackage ../development/python-modules/requests-http-signature { };
requests-kerberos = callPackage ../development/python-modules/requests-kerberos { };