universal-android-debloater: 1.0.3 -> 1.1.0 (#349670)

This commit is contained in:
Artturin 2024-10-28 07:00:03 +02:00 committed by GitHub
commit d25bad0b8f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,31 +1,33 @@
{ android-tools
, clang
, expat
, fetchFromGitHub
, fontconfig
, freetype
, lib
, libglvnd
, libxkbcommon
, wayland
, makeWrapper
, mold
, pkg-config
, rustPlatform
, xorg
{
android-tools,
clang,
expat,
fetchFromGitHub,
fontconfig,
freetype,
lib,
libglvnd,
libxkbcommon,
wayland,
makeWrapper,
mold,
pkg-config,
rustPlatform,
xorg,
}:
rustPlatform.buildRustPackage rec {
pname = "universal-android-debloater";
version = "1.0.3";
version = "1.1.0";
src = fetchFromGitHub {
owner = "Universal-Debloater-Alliance";
repo = "universal-android-debloater-next-generation";
rev = "v${version}";
hash = "sha256-yiCl6inPFveMO4IA2NwwpEmbRSmrZBeZR+eiKzGj6a0=";
hash = "sha256-o54gwFl2x0/nE1hiE5F8D18vQSNCKU9Oxiq8RA+yOoE=";
};
cargoHash = "sha256-HqyOslcr3pwDvpZ8CNbAy2W5jGhWGWoe/rutq0leNaY=";
cargoHash = "sha256-Zm0zC9GZ2IsjVp5Phd38UAiBH8n0O/i56CEURBUapAg=";
buildInputs = [
expat
@ -49,17 +51,29 @@ rustPlatform.buildRustPackage rec {
postInstall = ''
wrapProgram $out/bin/uad-ng \
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ fontconfig freetype libglvnd libxkbcommon wayland xorg.libX11 xorg.libXcursor xorg.libXi xorg.libXrandr ]} \
--prefix LD_LIBRARY_PATH : ${
lib.makeLibraryPath [
fontconfig
freetype
libglvnd
libxkbcommon
wayland
xorg.libX11
xorg.libXcursor
xorg.libXi
xorg.libXrandr
]
} \
--suffix PATH : ${lib.makeBinPath [ android-tools ]}
'';
meta = with lib; {
meta = {
description = "Tool to debloat non-rooted Android devices";
changelog = "https://github.com/Universal-Debloater-Alliance/universal-android-debloater-next-generation/blob/${src.rev}/CHANGELOG.md";
homepage = "https://github.com/Universal-Debloater-Alliance/universal-android-debloater-next-generation";
license = licenses.gpl3Only;
license = lib.licenses.gpl3Only;
mainProgram = "uad-ng";
maintainers = with maintainers; [ lavafroth ];
platforms = platforms.linux;
maintainers = with lib.maintainers; [ lavafroth ];
platforms = lib.platforms.linux;
};
}