chrome-pak-customizer: init at 2.0-unstable-2021-06-24

This commit is contained in:
Ulysses Zhan 2025-04-24 08:49:11 -07:00
parent b8c6cc2cd5
commit 58d181d423
No known key found for this signature in database
GPG key ID: 36F32687C05F4986

View file

@ -0,0 +1,45 @@
{
lib,
stdenv,
fetchFromGitHub,
installShellFiles,
cmake,
ninja,
}:
stdenv.mkDerivation {
pname = "chrome-pak-customizer";
version = "2.0-unstable-2021-06-24";
src = fetchFromGitHub {
owner = "myfreeer";
repo = "chrome-pak-customizer";
rev = "bfabc033207ebbd6e0017ce99500d3e379a0a3f6";
hash = "sha256-MCGLbHSUPcO1nMUYCqRws4+hLGEaNjX9oqGzixw8VWY=";
};
nativeBuildInputs = [
cmake
ninja
installShellFiles
];
cmakeFlags = [ (lib.cmakeBool "LGPL" false) ];
installPhase = ''
runHook preInstall
installBin pak
runHook postInstall
'';
meta = {
description = "Simple batch tool to customize pak files in chrome or chromium-based browser";
homepage = "https://github.com/myfreeer/chrome-pak-customizer";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ulysseszhan ];
mainProgram = "pak";
platforms = lib.platforms.all;
};
}