Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374{ lib, stdenv, buildPythonPackage, click, colorama, cryptography, exrex, fetchFromGitHub, poetry-core, pyopenssl, pyperclip, pyprojectVersionPatchHook, pytest-mock, pytestCheckHook, questionary, requests-mock, requests,}:
buildPythonPackage (finalAttrs: { pname = "myjwt"; version = "2.1.0"; pyproject = true;
src = fetchFromGitHub { owner = "tyki6"; repo = "MyJWT"; tag = finalAttrs.version; hash = "sha256-jqBnxo7Omn5gLMCQ7SNbjo54nyFK7pn94796z2Qc9lg="; };
pythonRelaxDeps = [ "cryptography" "exrex" "pyopenssl" "questionary" ];
build-system = [ poetry-core ];
nativeBuildInputs = [ pyprojectVersionPatchHook ];
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/tyki6/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; };})