depot/pkgs/tools/security/apkleaks/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

41 lines
909 B
Nix

{
lib,
fetchFromGitHub,
jadx,
python3,
}:
python3.pkgs.buildPythonApplication rec {
pname = "apkleaks";
version = "2.6.3";
pyproject = true;
src = fetchFromGitHub {
owner = "dwisiswant0";
repo = "apkleaks";
rev = "refs/tags/v${version}";
hash = "sha256-8P4LZsyq0mSVdE6QhnW3QaaA3UAg4UDBS3jSg7Kg/oY=";
};
build-system = with python3.pkgs; [ setuptools ];
dependencies = with python3.pkgs; [
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";
changelog = "https://github.com/dwisiswant0/apkleaks/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
mainProgram = "apkleaks";
};
}