Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, fetchFromGitHub 3, python3 4}: 5 6python3.pkgs.buildPythonApplication rec { 7 pname = "swaggerhole"; 8 version = "1.1"; 9 format = "setuptools"; 10 11 src = fetchFromGitHub { 12 owner = "Liodeus"; 13 repo = pname; 14 # Source is not tagged at the moment, https://github.com/Liodeus/swaggerHole/issues/2 15 rev = "14846406fbd0f145d71ad51c3b87f383e4afbc3b"; 16 hash = "sha256-3HmIpn1A86PXZRL+SqMdr84O16hW1mCUWHKnOVolmx8="; 17 }; 18 19 propagatedBuildInputs = with python3.pkgs; [ 20 requests 21 whispers 22 ]; 23 24 # Project has no tests 25 doCheck = false; 26 27 pythonImportsCheck = [ 28 "swaggerhole" 29 ]; 30 31 meta = with lib; { 32 description = "Tool to searching for secret on swaggerhub"; 33 homepage = "https://github.com/Liodeus/swaggerHole"; 34 license = with licenses; [ gpl3Plus ]; 35 maintainers = with maintainers; [ fab ]; 36 }; 37}