diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2023-05-08 20:24:51 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2023-05-08 20:24:51 +0200 |
commit | 03bdcc5042f66fe88b9a2caf5d196a214cd2a9e4 (patch) | |
tree | 6fac536bbf0df64fe51cc5d642747aca1658d8e0 /pkgs/tools/security/inql | |
parent | 8fa251f6d5cd4c3b73910701a8f9d2d02a5e57b3 (diff) |
inql: fix invalid version specifier
Diffstat (limited to 'pkgs/tools/security/inql')
-rw-r--r-- | pkgs/tools/security/inql/default.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/tools/security/inql/default.nix b/pkgs/tools/security/inql/default.nix index 97781e42d5f17..272e28292ac89 100644 --- a/pkgs/tools/security/inql/default.nix +++ b/pkgs/tools/security/inql/default.nix @@ -11,9 +11,15 @@ python3.pkgs.buildPythonApplication rec { owner = "doyensec"; repo = pname; rev = "refs/tags/v${version}"; - sha256 = "sha256-DFGJHqdrCmOZn8GdY5SZ1PrOhuIsMLoK+2Fry9WkRiY="; + hash = "sha256-DFGJHqdrCmOZn8GdY5SZ1PrOhuIsMLoK+2Fry9WkRiY="; }; + postPatch = '' + # To set the version a full git checkout would be needed + substituteInPlace setup.py \ + --replace "version=version()," "version='${version}'," + ''; + propagatedBuildInputs = with python3.pkgs; [ stickytape ]; @@ -28,6 +34,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Security testing tool for GraphQL"; homepage = "https://github.com/doyensec/inql"; + changelog = "https://github.com/doyensec/inql/releases/tag/v${version}"; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ fab ]; }; |