summary refs log tree commit diff
path: root/pkgs/tools/security
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2021-10-04 22:54:39 -0400
committerGitHub <noreply@github.com>2021-10-04 22:54:39 -0400
commit61eace859949910a60e423c6eabffe0c0730b42c (patch)
tree52528fe94fe5ab8b5995fc62e0d0f9357fd4cf86 /pkgs/tools/security
parentdb8ab32efd3a4ad59044848d889480954e458f25 (diff)
parent901a86ce95c1b90265fb3d15fa8c3a81b25976f1 (diff)
downloadnixpkgs-61eace859949910a60e423c6eabffe0c0730b42c.tar
nixpkgs-61eace859949910a60e423c6eabffe0c0730b42c.tar.gz
nixpkgs-61eace859949910a60e423c6eabffe0c0730b42c.tar.bz2
nixpkgs-61eace859949910a60e423c6eabffe0c0730b42c.tar.lz
nixpkgs-61eace859949910a60e423c6eabffe0c0730b42c.tar.xz
nixpkgs-61eace859949910a60e423c6eabffe0c0730b42c.tar.zst
nixpkgs-61eace859949910a60e423c6eabffe0c0730b42c.zip
Merge pull request #140502 from fabaff/ghost
ghost: init at 8.0.0
Diffstat (limited to 'pkgs/tools/security')
-rw-r--r--pkgs/tools/security/ghost/default.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/tools/security/ghost/default.nix b/pkgs/tools/security/ghost/default.nix
new file mode 100644
index 00000000000..124caef45c2
--- /dev/null
+++ b/pkgs/tools/security/ghost/default.nix
@@ -0,0 +1,34 @@
+{ lib
+, fetchFromGitHub
+, python3
+}:
+
+python3.pkgs.buildPythonApplication rec {
+  pname = "ghost";
+  version = "8.0.0";
+
+  disabled = python3.pythonOlder "3.7";
+
+  src = fetchFromGitHub {
+    owner = "EntySec";
+    repo = "Ghost";
+    rev = version;
+    sha256 = "13p3inw7v55na8438awr692v9vb7zgf5ggxpha9r3m8vfm3sb4iz";
+  };
+
+  propagatedBuildInputs = with python3.pkgs; [
+    adb-shell
+  ];
+
+  # Project has no tests
+  doCheck = false;
+
+  pythonImportsCheck = [ "ghost" ];
+
+  meta = with lib; {
+    description = "Android post-exploitation framework";
+    homepage = "https://github.com/EntySec/ghost";
+    license = with licenses; [ mit ];
+    maintainers = with maintainers; [ fab ];
+  };
+}