nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchFromGitHub,
4 python3,
5}:
6
7python3.pkgs.buildPythonApplication (finalAttrs: {
8 pname = "ghost";
9 version = "8.0.0-unstable-2025-11-01";
10 pyproject = true;
11
12 src = fetchFromGitHub {
13 owner = "EntySec";
14 repo = "Ghost";
15 rev = "bf38c7e62e510caa1229e797ca3276e426235b03";
16 hash = "sha256-c1mcx5mG45Rm/oJ+XFCo5uJqcqPQGgZnxRs7OcU8q+0=";
17 };
18
19 build-system = with python3.pkgs; [ setuptools ];
20
21 dependencies = with python3.pkgs; [
22 adb-shell
23 badges
24 colorscript
25 pex-entysec
26 ];
27
28 # Project has no tests
29 doCheck = false;
30
31 pythonImportsCheck = [ "ghost" ];
32
33 meta = {
34 description = "Android post-exploitation framework";
35 homepage = "https://github.com/EntySec/ghost";
36 license = lib.licenses.mit;
37 maintainers = with lib.maintainers; [ fab ];
38 mainProgram = "ghost";
39 };
40})