diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/security/inql/default.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/security/inql/default.nix | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/nixpkgs/pkgs/tools/security/inql/default.nix b/nixpkgs/pkgs/tools/security/inql/default.nix index 28abbe075bf4..272e28292ac8 100644 --- a/nixpkgs/pkgs/tools/security/inql/default.nix +++ b/nixpkgs/pkgs/tools/security/inql/default.nix @@ -5,15 +5,21 @@ python3.pkgs.buildPythonApplication rec { pname = "inql"; - version = "4.0.5"; + version = "4.0.6"; src = fetchFromGitHub { owner = "doyensec"; repo = pname; - rev = "v${version}"; - sha256 = "sha256-0LPJMCg7F9kcPcq4jkADdCPNLfRThXu8QHy4qOn7+QU="; + rev = "refs/tags/v${version}"; + 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 ]; }; |