nixpkgs/pkgs/by-name/ap/apkleaks/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
909 B
Nix
Raw Normal View History

2024-05-20 06:11:24 +00:00
{
lib,
fetchFromGitHub,
jadx,
python3,
2021-10-04 16:02:14 +00:00
}:
python3.pkgs.buildPythonApplication rec {
pname = "apkleaks";
version = "2.6.3";
2024-05-20 06:11:10 +00:00
pyproject = true;
2021-10-04 16:02:14 +00:00
src = fetchFromGitHub {
owner = "dwisiswant0";
2024-05-20 06:11:10 +00:00
repo = "apkleaks";
2024-05-19 19:50:51 +00:00
rev = "refs/tags/v${version}";
hash = "sha256-8P4LZsyq0mSVdE6QhnW3QaaA3UAg4UDBS3jSg7Kg/oY=";
2021-10-04 16:02:14 +00:00
};
2024-05-20 06:11:24 +00:00
build-system = with python3.pkgs; [ setuptools ];
2024-05-20 06:11:10 +00:00
dependencies = with python3.pkgs; [
2021-10-04 16:02:14 +00:00
jadx
pyaxmlparser
setuptools
];
# Project has no tests
doCheck = false;
2024-05-20 06:11:24 +00:00
pythonImportsCheck = [ "apkleaks" ];
2021-10-04 16:02:14 +00:00
meta = with lib; {
description = "Scanning APK file for URIs, endpoints and secrets";
homepage = "https://github.com/dwisiswant0/apkleaks";
2024-05-20 06:11:10 +00:00
changelog = "https://github.com/dwisiswant0/apkleaks/releases/tag/v${version}";
license = licenses.asl20;
2021-10-04 16:02:14 +00:00
maintainers = with maintainers; [ fab ];
2023-11-23 02:51:17 +00:00
mainProgram = "apkleaks";
2021-10-04 16:02:14 +00:00
};
}