diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-07-21 16:48:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-21 16:48:27 +0200 |
commit | 81c6210351c3b425f1f9e1e78cb12aad25c7c175 (patch) | |
tree | 99442fa4c120a2fc0dc062435c898943dcb8e242 /pkgs | |
parent | 334dfbd45cf99013b0e45e8738d0951a7498f962 (diff) | |
parent | 4c156c005497b14371173b7fe2fd00a9d02ad4a3 (diff) | |
download | nixlib-81c6210351c3b425f1f9e1e78cb12aad25c7c175.tar nixlib-81c6210351c3b425f1f9e1e78cb12aad25c7c175.tar.gz nixlib-81c6210351c3b425f1f9e1e78cb12aad25c7c175.tar.bz2 nixlib-81c6210351c3b425f1f9e1e78cb12aad25c7c175.tar.lz nixlib-81c6210351c3b425f1f9e1e78cb12aad25c7c175.tar.xz nixlib-81c6210351c3b425f1f9e1e78cb12aad25c7c175.tar.zst nixlib-81c6210351c3b425f1f9e1e78cb12aad25c7c175.zip |
Merge pull request #130535 from applePrincess/add-requests-futures
python3Packages.requests-futures: init at 1.0.0
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/requests-futures/default.nix | 25 | ||||
-rw-r--r-- | pkgs/top-level/python-packages.nix | 2 |
2 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/requests-futures/default.nix b/pkgs/development/python-modules/requests-futures/default.nix new file mode 100644 index 000000000000..cc6eb312431e --- /dev/null +++ b/pkgs/development/python-modules/requests-futures/default.nix @@ -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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 0c5a7115e98b..320115f6ad20 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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 { }; |