python313Packages.badsecrets: init at 0.10.35, python313Packages.flask-unsign: init at 1.2.1 (#422733)
This commit is contained in:
commit
f859c5d293
1
pkgs/by-name/ba/badsecrets/package.nix
Normal file
1
pkgs/by-name/ba/badsecrets/package.nix
Normal file
@ -0,0 +1 @@
|
||||
{ python3Packages }: with python3Packages; toPythonApplication badsecrets
|
1
pkgs/by-name/fl/flask-unsign/package.nix
Normal file
1
pkgs/by-name/fl/flask-unsign/package.nix
Normal file
@ -0,0 +1 @@
|
||||
{ python3Packages }: with python3Packages; toPythonApplication flask-unsign
|
55
pkgs/development/python-modules/badsecrets/default.nix
Normal file
55
pkgs/development/python-modules/badsecrets/default.nix
Normal file
@ -0,0 +1,55 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
colorama,
|
||||
django,
|
||||
fetchFromGitHub,
|
||||
flask-unsign,
|
||||
poetry-core,
|
||||
poetry-dynamic-versioning,
|
||||
pycryptodome,
|
||||
pyjwt,
|
||||
requests,
|
||||
viewstate,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "badsecrets";
|
||||
version = "0.10.35";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "blacklanternsecurity";
|
||||
repo = "badsecrets";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-i80f4qPX695HFdNefIT2sqcKsdMTEiYXUltF2Gj6aAI=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
poetry-core
|
||||
poetry-dynamic-versioning
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
colorama
|
||||
django
|
||||
flask-unsign
|
||||
pycryptodome
|
||||
pyjwt
|
||||
requests
|
||||
viewstate
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "badsecrets" ];
|
||||
|
||||
meta = {
|
||||
description = "Module for detecting known secrets across many web frameworks";
|
||||
homepage = "https://github.com/blacklanternsecurity/badsecrets";
|
||||
changelog = "https://github.com/blacklanternsecurity/badsecrets/releases/tag/${src.tag}";
|
||||
license = with lib.licenses; [
|
||||
agpl3Only
|
||||
gpl3Only
|
||||
];
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
50
pkgs/development/python-modules/flask-unsign/default.nix
Normal file
50
pkgs/development/python-modules/flask-unsign/default.nix
Normal file
@ -0,0 +1,50 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
flask,
|
||||
itsdangerous,
|
||||
markupsafe,
|
||||
pytestCheckHook,
|
||||
requests,
|
||||
setuptools,
|
||||
werkzeug,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "flask-unsign";
|
||||
version = "1.2.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Paradoxis";
|
||||
repo = "Flask-Unsign";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-/WK3g6Ef3mSKeT3aaSAh5J8estUN4sNmM9Tq9An/18A=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
flask
|
||||
itsdangerous
|
||||
markupsafe
|
||||
requests
|
||||
werkzeug
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "flask_unsign" ];
|
||||
|
||||
pytestFlagsArray = [ "tests/flask_unsign.py" ];
|
||||
|
||||
meta = {
|
||||
description = "Command line tool to fetch, decode, brute-force and craft session cookies of Flask applications";
|
||||
homepage = "https://github.com/Paradoxis/Flask-Unsign";
|
||||
changelog = "https://github.com/Paradoxis/Flask-Unsign/releases/tag/${src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
mainProgram = "flask-unsign";
|
||||
};
|
||||
}
|
@ -1637,6 +1637,8 @@ self: super: with self; {
|
||||
|
||||
bacpypes = callPackage ../development/python-modules/bacpypes { };
|
||||
|
||||
badsecrets = callPackage ../development/python-modules/badsecrets { };
|
||||
|
||||
bagit = callPackage ../development/python-modules/bagit { };
|
||||
|
||||
baize = callPackage ../development/python-modules/baize { };
|
||||
@ -5266,6 +5268,8 @@ self: super: with self; {
|
||||
|
||||
flask-themes2 = callPackage ../development/python-modules/flask-themes2 { };
|
||||
|
||||
flask-unsign = callPackage ../development/python-modules/flask-unsign { };
|
||||
|
||||
flask-versioned = callPackage ../development/python-modules/flask-versioned { };
|
||||
|
||||
flask-webtest = callPackage ../development/python-modules/flask-webtest { };
|
||||
|
Loading…
x
Reference in New Issue
Block a user