Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / requests-futures / default.nix
blobb2f1aab469886c5d59f2d59e7d5115028df09112
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pythonOlder
5 , requests
6 }:
8 buildPythonPackage rec {
9   pname = "requests-futures";
10   version = "1.0.1";
11   format = "setuptools";
13   disabled = pythonOlder "3.7";
15   src = fetchPypi {
16     inherit pname version;
17     sha256 = "sha256-9VpO+ABw4oWOfR5zEj0r+uryW5P9NDhNjd8UjitnY3M=";
18   };
20   propagatedBuildInputs = [
21     requests
22   ];
24   # Tests are disabled because they require being online
25   doCheck = false;
27   pythonImportsCheck = [
28     "requests_futures"
29   ];
31   meta = with lib; {
32     description = "Asynchronous Python HTTP Requests for Humans using Futures";
33     homepage = "https://github.com/ross/requests-futures";
34     changelog = "https://github.com/ross/requests-futures/blob/v${version}/CHANGELOG.md";
35     license = with licenses; [ asl20 ];
36     maintainers = with maintainers; [ applePrincess ];
37   };