depot/third_party/nixpkgs/pkgs/tools/security/ghost/default.nix
Default email 5e2a688410 Project import generated by Copybara.
GitOrigin-RevId: 5e2018f7b383aeca6824a30c0cd1978c9532a46a
2021-10-06 10:57:05 -03:00

34 lines
693 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";
homepage = "https://github.com/EntySec/ghost";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}