Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 41 lines 799 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 python3, 5}: 6 7python3.pkgs.buildPythonApplication rec { 8 pname = "ghost"; 9 version = "8.0.0"; 10 format = "pyproject"; 11 12 disabled = python3.pythonOlder "3.7"; 13 14 src = fetchFromGitHub { 15 owner = "EntySec"; 16 repo = "Ghost"; 17 rev = version; 18 sha256 = "13p3inw7v55na8438awr692v9vb7zgf5ggxpha9r3m8vfm3sb4iz"; 19 }; 20 21 build-system = with python3.pkgs; [ 22 setuptools 23 ]; 24 25 dependencies = with python3.pkgs; [ 26 adb-shell 27 ]; 28 29 # Project has no tests 30 doCheck = false; 31 32 pythonImportsCheck = [ "ghost" ]; 33 34 meta = with lib; { 35 description = "Android post-exploitation framework"; 36 mainProgram = "ghost"; 37 homepage = "https://github.com/EntySec/ghost"; 38 license = with licenses; [ mit ]; 39 maintainers = with maintainers; [ fab ]; 40 }; 41}