2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchFromGitHub,
|
|
|
|
jadx,
|
|
|
|
python3,
|
2021-10-06 13:57:05 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "apkleaks";
|
2024-06-05 15:53:02 +00:00
|
|
|
version = "2.6.2";
|
|
|
|
pyproject = true;
|
2021-10-06 13:57:05 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dwisiswant0";
|
2024-06-05 15:53:02 +00:00
|
|
|
repo = "apkleaks";
|
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
hash = "sha256-a7zOowvhV9H91RwNDImN2+ecixY8g3WUotlBQVdmLgA=";
|
2021-10-06 13:57:05 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
build-system = with python3.pkgs; [ setuptools ];
|
|
|
|
|
|
|
|
dependencies = with python3.pkgs; [
|
2021-10-06 13:57:05 +00:00
|
|
|
jadx
|
|
|
|
pyaxmlparser
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
|
|
|
# Project has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "apkleaks" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Scanning APK file for URIs, endpoints and secrets";
|
|
|
|
homepage = "https://github.com/dwisiswant0/apkleaks";
|
2024-06-05 15:53:02 +00:00
|
|
|
changelog = "https://github.com/dwisiswant0/apkleaks/releases/tag/v${version}";
|
|
|
|
license = licenses.asl20;
|
2021-10-06 13:57:05 +00:00
|
|
|
maintainers = with maintainers; [ fab ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "apkleaks";
|
2021-10-06 13:57:05 +00:00
|
|
|
};
|
|
|
|
}
|