Skip to content

Commit

Permalink
Merge pull request #230752 from fabaff/inql-fix
Browse files Browse the repository at this point in the history
inql: fix invalid version specifier
  • Loading branch information
fabaff authored May 9, 2023
2 parents ac0631e + 03bdcc5 commit f3d55db
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion pkgs/tools/security/inql/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
];
Expand All @@ -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 ];
};
Expand Down

0 comments on commit f3d55db

Please sign in to comment.