Something went wrong. Try again.
lol
Something went wrong. Try again.
1.3 kB · 69 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970{ lib, stdenv, buildPythonPackage, click, colorama, cryptography, exrex, fetchFromGitHub, poetry-core, pyopenssl, pyperclip, pytest-mock, pytestCheckHook, questionary, requests, requests-mock,}:
buildPythonPackage (finalAttrs: { pname = "myjwt"; version = "2.1.0"; pyproject = true;
src = fetchFromGitHub { owner = "mBouamama"; repo = "MyJWT"; tag = finalAttrs.version; hash = "sha256-jqBnxo7Omn5gLMCQ7SNbjo54nyFK7pn94796z2Qc9lg="; };
pythonRelaxDeps = [ "cryptography" "pyopenssl" "questionary" ];
build-system = [ poetry-core ];
dependencies = [ click colorama cryptography exrex pyopenssl pyperclip questionary requests ];
nativeCheckInputs = [ pytest-mock pytestCheckHook requests-mock ];
pythonImportsCheck = [ "myjwt" ];
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/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; mainProgram = "myjwt"; # Build failures broken = stdenv.hostPlatform.isDarwin; };})