apkleaks: refactor

This commit is contained in:
Fabian Affolter
2024-05-20 08:11:10 +02:00
parent 8c8c688678
commit 25618a3ace
+13 -7
View File
@@ -7,17 +7,20 @@
python3.pkgs.buildPythonApplication rec {
pname = "apkleaks";
version = "2.6.2";
disabled = python3.pythonOlder "3.6";
pyproject = true;
src = fetchFromGitHub {
owner = "dwisiswant0";
repo = pname;
repo = "apkleaks";
rev = "refs/tags/v${version}";
sha256 = "sha256-a7zOowvhV9H91RwNDImN2+ecixY8g3WUotlBQVdmLgA=";
hash = "sha256-a7zOowvhV9H91RwNDImN2+ecixY8g3WUotlBQVdmLgA=";
};
propagatedBuildInputs = with python3.pkgs; [
build-system = with python3.pkgs; [
setuptools
];
dependencies = with python3.pkgs; [
jadx
pyaxmlparser
setuptools
@@ -26,12 +29,15 @@ python3.pkgs.buildPythonApplication rec {
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "apkleaks" ];
pythonImportsCheck = [
"apkleaks"
];
meta = with lib; {
description = "Scanning APK file for URIs, endpoints and secrets";
homepage = "https://github.com/dwisiswant0/apkleaks";
license = with licenses; [ asl20 ];
changelog = "https://github.com/dwisiswant0/apkleaks/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
mainProgram = "apkleaks";
};