python3Packages.myjwt: disable on older Python releases
This commit is contained in:
parent
4417580bbf
commit
e54fe8f217
1 changed files with 7 additions and 1 deletions
|
@ -10,6 +10,7 @@
|
||||||
, pyperclip
|
, pyperclip
|
||||||
, pytest-mock
|
, pytest-mock
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
, questionary
|
, questionary
|
||||||
, requests
|
, requests
|
||||||
, requests-mock
|
, requests-mock
|
||||||
|
@ -18,6 +19,9 @@
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "myjwt";
|
pname = "myjwt";
|
||||||
version = "1.6.0";
|
version = "1.6.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mBouamama";
|
owner = "mBouamama";
|
||||||
|
@ -48,7 +52,9 @@ buildPythonPackage rec {
|
||||||
sed -i -e "s/==[0-9.]*//" requirements.txt
|
sed -i -e "s/==[0-9.]*//" requirements.txt
|
||||||
'';
|
'';
|
||||||
|
|
||||||
pythonImportsCheck = [ "myjwt" ];
|
pythonImportsCheck = [
|
||||||
|
"myjwt"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "CLI tool for testing vulnerabilities of JSON Web Tokens (JWT)";
|
description = "CLI tool for testing vulnerabilities of JSON Web Tokens (JWT)";
|
||||||
|
|
Loading…
Reference in a new issue