python3Packages.restfly: disable on older Python releeases
This commit is contained in:
parent
16f8848c34
commit
36032dfafc
1 changed files with 8 additions and 2 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue