mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 06:14:57 +01:00
39 lines
1 KiB
Nix
39 lines
1 KiB
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, doxygen
|
|
, boost
|
|
, zlib
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "axmldec";
|
|
version = "1.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ytsutano";
|
|
repo = "axmldec";
|
|
rev = "v${version}";
|
|
fetchSubmodules = true;
|
|
hash = "sha256-LFDZZbRDa8mQmglgS4DA/OqXp0HJZ2uqg1hbStdgvUw=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake doxygen ];
|
|
buildInputs = [ boost zlib ];
|
|
|
|
meta = with lib; {
|
|
description = "Stand-alone binary AndroidManifest.xml decoder";
|
|
longDescription = ''
|
|
This tool accepts either a binary or a text XML file and prints the
|
|
decoded XML to the standard output or a file. It also allows you to
|
|
extract the decoded AndroidManifest.xml directly from an APK file.
|
|
'';
|
|
homepage = "https://github.com/ytsutano/axmldec";
|
|
changelog = "https://github.com/ytsutano/axmldec/releases/tag/${src.rev}";
|
|
license = licenses.isc;
|
|
mainProgram = "axmldec";
|
|
maintainers = with maintainers; [ franciscod ];
|
|
platforms = platforms.unix ++ platforms.windows;
|
|
};
|
|
}
|