Loading pkgs/development/python-modules/myjwt/default.nix 0 → 100644 +58 −0 Original line number Diff line number Diff line { lib , stdenv , buildPythonPackage , fetchFromGitHub , click , colorama , cryptography , exrex , pyopenssl , pyperclip , questionary , requests , pytestCheckHook , pytest-mock , requests-mock }: buildPythonPackage rec { pname = "myjwt"; version = "1.4.0"; src = fetchFromGitHub { owner = "mBouamama"; repo = "MyJWT"; rev = version; sha256 = "1n3lvdrzp6wbbcygjwa7xar2jnhjnrz7a9khmn2phhkkngxm5rc4"; }; patches = [ ./pinning.patch ]; propagatedBuildInputs = [ click colorama cryptography exrex pyopenssl pyperclip questionary requests ]; checkInputs = [ pytestCheckHook pytest-mock requests-mock ]; pythonImportsCheck = [ "myjwt" ]; meta = with lib; { description = "CLI tool for testing vulnerabilities on Json Web Token(JWT)"; homepage = "https://github.com/mBouamama/MyJWT"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; # Build failures broken = stdenv.isDarwin; }; } pkgs/development/python-modules/myjwt/pinning.patch 0 → 100644 +21 −0 Original line number Diff line number Diff line diff --git a/requirements.txt b/requirements.txt index 3017e02..2b465db 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,8 +1,8 @@ -click==7.1.2 -colorama==0.4.4 -cryptography==3.3.1 -exrex==0.10.5 -pyOpenSSL==20.0.1 -pyperclip==1.8.1 -questionary==1.9.0 -requests==2.25.1 +click +colorama +cryptography +exrex +pyOpenSSL +pyperclip +questionary +requests pkgs/top-level/python-packages.nix +6 −0 Original line number Diff line number Diff line Loading @@ -2076,6 +2076,8 @@ in { exifread = callPackage ../development/python-modules/exifread { }; exrex = callPackage ../development/python-modules/exrex { }; extras = callPackage ../development/python-modules/extras { }; eyeD3 = callPackage ../development/python-modules/eyed3 { }; Loading Loading @@ -4175,6 +4177,8 @@ in { mygpoclient = callPackage ../development/python-modules/mygpoclient { }; myjwt = callPackage ../development/python-modules/myjwt { }; mypy = callPackage ../development/python-modules/mypy { }; mypy-extensions = callPackage ../development/python-modules/mypy/extensions.nix { }; Loading Loading @@ -6503,6 +6507,8 @@ in { querystring_parser = callPackage ../development/python-modules/querystring-parser { }; questionary = callPackage ../development/python-modules/questionary { }; queuelib = callPackage ../development/python-modules/queuelib { }; r2pipe = callPackage ../development/python-modules/r2pipe { }; Loading Loading
pkgs/development/python-modules/myjwt/default.nix 0 → 100644 +58 −0 Original line number Diff line number Diff line { lib , stdenv , buildPythonPackage , fetchFromGitHub , click , colorama , cryptography , exrex , pyopenssl , pyperclip , questionary , requests , pytestCheckHook , pytest-mock , requests-mock }: buildPythonPackage rec { pname = "myjwt"; version = "1.4.0"; src = fetchFromGitHub { owner = "mBouamama"; repo = "MyJWT"; rev = version; sha256 = "1n3lvdrzp6wbbcygjwa7xar2jnhjnrz7a9khmn2phhkkngxm5rc4"; }; patches = [ ./pinning.patch ]; propagatedBuildInputs = [ click colorama cryptography exrex pyopenssl pyperclip questionary requests ]; checkInputs = [ pytestCheckHook pytest-mock requests-mock ]; pythonImportsCheck = [ "myjwt" ]; meta = with lib; { description = "CLI tool for testing vulnerabilities on Json Web Token(JWT)"; homepage = "https://github.com/mBouamama/MyJWT"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; # Build failures broken = stdenv.isDarwin; }; }
pkgs/development/python-modules/myjwt/pinning.patch 0 → 100644 +21 −0 Original line number Diff line number Diff line diff --git a/requirements.txt b/requirements.txt index 3017e02..2b465db 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,8 +1,8 @@ -click==7.1.2 -colorama==0.4.4 -cryptography==3.3.1 -exrex==0.10.5 -pyOpenSSL==20.0.1 -pyperclip==1.8.1 -questionary==1.9.0 -requests==2.25.1 +click +colorama +cryptography +exrex +pyOpenSSL +pyperclip +questionary +requests
pkgs/top-level/python-packages.nix +6 −0 Original line number Diff line number Diff line Loading @@ -2076,6 +2076,8 @@ in { exifread = callPackage ../development/python-modules/exifread { }; exrex = callPackage ../development/python-modules/exrex { }; extras = callPackage ../development/python-modules/extras { }; eyeD3 = callPackage ../development/python-modules/eyed3 { }; Loading Loading @@ -4175,6 +4177,8 @@ in { mygpoclient = callPackage ../development/python-modules/mygpoclient { }; myjwt = callPackage ../development/python-modules/myjwt { }; mypy = callPackage ../development/python-modules/mypy { }; mypy-extensions = callPackage ../development/python-modules/mypy/extensions.nix { }; Loading Loading @@ -6503,6 +6507,8 @@ in { querystring_parser = callPackage ../development/python-modules/querystring-parser { }; questionary = callPackage ../development/python-modules/questionary { }; queuelib = callPackage ../development/python-modules/queuelib { }; r2pipe = callPackage ../development/python-modules/r2pipe { }; Loading