python3Packages.restfly: disable on older Python releeases

This commit is contained in:
Fabian Affolter 2021-12-29 23:50:21 +01:00
parent 16f8848c34
commit 36032dfafc

View file

@ -6,18 +6,22 @@
, pytest-vcr
, pytestCheckHook
, python-box
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "restfly";
version = "1.4.4";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "stevemcgrath";
repo = pname;
rev = version;
sha256 = "sha256-T5NfG+Vuguh6xZ/Rdx3a1vMDgXPcl/OYhOkxb76yEXg=";
hash = "sha256-T5NfG+Vuguh6xZ/Rdx3a1vMDgXPcl/OYhOkxb76yEXg=";
};
propagatedBuildInputs = [
@ -37,7 +41,9 @@ buildPythonPackage rec {
"test_session_ssl_error"
];
pythonImportsCheck = [ "restfly" ];
pythonImportsCheck = [
"restfly"
];
meta = with lib; {
description = "Python RESTfly API Library Framework";