about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/requests-futures/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/requests-futures/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/requests-futures/default.nix25
1 files changed, 19 insertions, 6 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/requests-futures/default.nix b/nixpkgs/pkgs/development/python-modules/requests-futures/default.nix
index cc6eb312431e..b2f1aab46988 100644
--- a/nixpkgs/pkgs/development/python-modules/requests-futures/default.nix
+++ b/nixpkgs/pkgs/development/python-modules/requests-futures/default.nix
@@ -1,24 +1,37 @@
-{ buildPythonPackage, fetchPypi, requests, lib }:
+{ lib
+, buildPythonPackage
+, fetchPypi
+, pythonOlder
+, requests
+}:
 
 buildPythonPackage rec {
   pname = "requests-futures";
-  version = "1.0.0";
+  version = "1.0.1";
+  format = "setuptools";
+
+  disabled = pythonOlder "3.7";
 
   src = fetchPypi {
     inherit pname version;
-    sha256 = "35547502bf1958044716a03a2f47092a89efe8f9789ab0c4c528d9c9c30bc148";
+    sha256 = "sha256-9VpO+ABw4oWOfR5zEj0r+uryW5P9NDhNjd8UjitnY3M=";
   };
 
-  propagatedBuildInputs = [ requests ];
+  propagatedBuildInputs = [
+    requests
+  ];
 
-  # tests are disabled because they require being online
+  # Tests are disabled because they require being online
   doCheck = false;
 
-  pythonImportsCheck = [ "requests_futures" ];
+  pythonImportsCheck = [
+    "requests_futures"
+  ];
 
   meta = with lib; {
     description = "Asynchronous Python HTTP Requests for Humans using Futures";
     homepage = "https://github.com/ross/requests-futures";
+    changelog = "https://github.com/ross/requests-futures/blob/v${version}/CHANGELOG.md";
     license = with licenses; [ asl20 ];
     maintainers = with maintainers; [ applePrincess ];
   };