graphw00f: refactor
This commit is contained in:
parent
926d62deca
commit
48991cb789
@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, python3
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
python3,
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
@ -10,14 +11,12 @@ python3.pkgs.buildPythonApplication rec {
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dolevf";
|
||||
repo = pname;
|
||||
repo = "graphw00f";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-gM6I3TLCuVKO1dTHl2jrXtmLOv29pTqrV18nGW5TYFY=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
requests
|
||||
];
|
||||
dependencies = with python3.pkgs; [ requests ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
@ -28,11 +27,12 @@ python3.pkgs.buildPythonApplication rec {
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "GraphQL Server Engine Fingerprinting utility";
|
||||
mainProgram = "graphw00f";
|
||||
homepage = "https://github.com/dolevf/graphw00f";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
mainProgram = "graphw00f";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user