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 = "ghost";
8 version = "8.0.0";
9
10 disabled = python3.pythonOlder "3.7";
11
12 src = fetchFromGitHub {
13 owner = "EntySec";
14 repo = "Ghost";
15 rev = version;
16 sha256 = "13p3inw7v55na8438awr692v9vb7zgf5ggxpha9r3m8vfm3sb4iz";
17 };
18
19 propagatedBuildInputs = with python3.pkgs; [
20 adb-shell
21 ];
22
23 # Project has no tests
24 doCheck = false;
25
26 pythonImportsCheck = [ "ghost" ];
27
28 meta = with lib; {
29 description = "Android post-exploitation framework";
30 homepage = "https://github.com/EntySec/ghost";
31 license = with licenses; [ mit ];
32 maintainers = with maintainers; [ fab ];
33 };
34}