license-plist: init at 3.27.7 (#519335)

This commit is contained in:
Oleksii Filonenko
2026-07-13 02:32:36 +00:00
committed by GitHub
2 changed files with 52 additions and 0 deletions
+6
View File
@@ -12750,6 +12750,12 @@
githubId = 5741620;
name = "Jeremy Schlatter";
};
jeremystucki = {
email = "dev@jeremystucki.ch";
github = "jeremystucki";
githubId = 7629727;
name = "Jeremy Stucki";
};
jerith666 = {
email = "github@matt.mchenryfamily.org";
github = "jerith666";
+46
View File
@@ -0,0 +1,46 @@
{
lib,
stdenvNoCC,
fetchzip,
versionCheckHook,
nix-update-script,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "license-plist";
version = "3.27.7";
__structuredAttrs = true;
strictDeps = true;
src = fetchzip {
url = "https://github.com/mono0926/LicensePlist/releases/download/${finalAttrs.version}/portable_licenseplist.zip";
hash = "sha256-Z8jDFRZj0s6X+edexNZ0Qx2qUC8Bm2GC9uOrKWbXtCI=";
stripRoot = false;
};
dontConfigure = true;
dontBuild = true;
installPhase = ''
runHook preInstall
install -Dm755 license-plist $out/bin/license-plist
runHook postInstall
'';
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
passthru.updateScript = nix-update-script { };
meta = {
description = "License list generator for iOS application dependencies";
homepage = "https://github.com/mono0926/LicensePlist";
changelog = "https://github.com/mono0926/LicensePlist/releases/tag/${finalAttrs.version}";
license = lib.licenses.mit;
mainProgram = "license-plist";
maintainers = with lib.maintainers; [ jeremystucki ];
platforms = lib.platforms.darwin;
sourceProvenance = [ lib.sourceTypes.binaryNativeCode ];
};
})