python313Packages.myjwt: add mainProgram (#433435)
This commit is contained in:
@@ -0,0 +1 @@
|
||||
{ python3Packages }: with python3Packages; toPythonApplication myjwt
|
||||
@@ -12,7 +12,6 @@
|
||||
pyperclip,
|
||||
pytest-mock,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
questionary,
|
||||
requests,
|
||||
requests-mock,
|
||||
@@ -23,8 +22,6 @@ buildPythonPackage rec {
|
||||
version = "2.1.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mBouamama";
|
||||
repo = "MyJWT";
|
||||
@@ -38,9 +35,7 @@ buildPythonPackage rec {
|
||||
"questionary"
|
||||
];
|
||||
|
||||
build-system = [
|
||||
poetry-core
|
||||
];
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
dependencies = [
|
||||
click
|
||||
@@ -61,12 +56,13 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "myjwt" ];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "CLI tool for testing vulnerabilities of JSON Web Tokens (JWT)";
|
||||
homepage = "https://github.com/mBouamama/MyJWT";
|
||||
changelog = "https://github.com/tyki6/MyJWT/releases/tag/${version}";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
changelog = "https://github.com/tyki6/MyJWT/releases/tag/${src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
mainProgram = "myjwt";
|
||||
# Build failures
|
||||
broken = stdenv.hostPlatform.isDarwin;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user