mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
chrome-pak-customizer: init at 2.0-unstable-2021-06-24
This commit is contained in:
parent
b8c6cc2cd5
commit
58d181d423
1 changed files with 45 additions and 0 deletions
45
pkgs/by-name/ch/chrome-pak-customizer/package.nix
Normal file
45
pkgs/by-name/ch/chrome-pak-customizer/package.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue