mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
35 lines
720 B
Nix
35 lines
720 B
Nix
{ 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";
|
|
mainProgram = "ghost";
|
|
homepage = "https://github.com/EntySec/ghost";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|