python3Packages.myjwt: disable on older Python releases

This commit is contained in:
Fabian Affolter 2022-04-07 19:34:28 +02:00 committed by GitHub
parent 4417580bbf
commit e54fe8f217
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,6 +10,7 @@
, pyperclip
, pytest-mock
, pytestCheckHook
, pythonOlder
, questionary
, requests
, requests-mock
@ -18,6 +19,9 @@
buildPythonPackage rec {
pname = "myjwt";
version = "1.6.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "mBouamama";
@ -48,7 +52,9 @@ buildPythonPackage rec {
sed -i -e "s/==[0-9.]*//" requirements.txt
'';
pythonImportsCheck = [ "myjwt" ];
pythonImportsCheck = [
"myjwt"
];
meta = with lib; {
description = "CLI tool for testing vulnerabilities of JSON Web Tokens (JWT)";