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-10-23 06:41:50 +00:00
|
|
|
version = "2.6.3";
|
2024-06-05 15:53:02 +00:00
|
|
|
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}";
|
2024-10-23 06:41:50 +00:00
|
|
|
hash = "sha256-8P4LZsyq0mSVdE6QhnW3QaaA3UAg4UDBS3jSg7Kg/oY=";
|
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
|
|
|
};
|
|
|
|
}
|