3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #140498 from fabaff/apkleaks

apkleaks: init at 2.6.1
This commit is contained in:
figsoda 2021-10-04 22:56:01 -04:00 committed by GitHub
commit 379b3c15dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,37 @@
{ lib
, fetchFromGitHub
, jadx
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "apkleaks";
version = "2.6.1";
disabled = python3.pythonOlder "3.6";
src = fetchFromGitHub {
owner = "dwisiswant0";
repo = pname;
rev = "v${version}";
sha256 = "0ysciv643p8gkqw2wp7zy4n07hihdcyil8d20lj86cpgga71rd64";
};
propagatedBuildInputs = 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";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -1170,6 +1170,8 @@ with pkgs;
apkid = callPackage ../development/tools/apkid { };
apkleaks = callPackage ../tools/security/apkleaks { };
apksigcopier = callPackage ../development/tools/apksigcopier { };
apksigner = callPackage ../development/tools/apksigner {