Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, python3 3, fetchPypi 4}: 5 6python3.pkgs.buildPythonApplication rec { 7 pname = "ghdorker"; 8 version = "0.3.2"; 9 format = "setuptools"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "sha256-wF4QoXxH55SpdYgKLHf4sCwUk1rkCpSdnIX5FvFi/BU="; 14 }; 15 16 propagatedBuildInputs = with python3.pkgs; [ 17 ghapi 18 glom 19 python-dotenv 20 pyyaml 21 ]; 22 23 # Project has no tests 24 doCheck = false; 25 26 pythonImportsCheck = [ 27 "GHDorker" 28 ]; 29 30 meta = with lib; { 31 description = "Extensible GitHub dorking tool"; 32 homepage = "https://github.com/dtaivpp/ghdorker"; 33 license = with licenses; [ asl20 ]; 34 maintainers = with maintainers; [ fab ]; 35 }; 36}