2022-09-22 12:36:57 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, python3
|
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "crackql";
|
2024-01-25 14:12:00 +00:00
|
|
|
version = "unstable-20230818";
|
|
|
|
pyproject = true;
|
2022-09-22 12:36:57 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nicholasaleks";
|
|
|
|
repo = "CrackQL";
|
|
|
|
# rev = "refs/tags/${version}";
|
|
|
|
# Switch to tag with the next update
|
2024-01-25 14:12:00 +00:00
|
|
|
rev = "ac26a44c2dd201f65da0d1c3f95eaf776ed1b2dd";
|
2022-09-22 12:36:57 +00:00
|
|
|
hash = "sha256-XlHbGkwdOV1nobjtQP/M3IIEuzXHBuwf52EsXf3MWoM=";
|
|
|
|
};
|
|
|
|
|
2024-01-25 14:12:00 +00:00
|
|
|
pythonRelaxDeps = [
|
|
|
|
"graphql-core"
|
|
|
|
];
|
|
|
|
|
2022-09-22 12:36:57 +00:00
|
|
|
nativeBuildInputs = with python3.pkgs; [
|
|
|
|
poetry-core
|
2024-01-25 14:12:00 +00:00
|
|
|
pythonRelaxDepsHook
|
2022-09-22 12:36:57 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
|
|
requests
|
|
|
|
graphql-core
|
|
|
|
jinja2
|
|
|
|
typing-extensions
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "GraphQL password brute-force and fuzzing utility";
|
|
|
|
homepage = "https://github.com/nicholasaleks/CrackQL";
|
|
|
|
license = with licenses; [ bsd3 ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|