chawan: correct license and add versionCheckHook (#430193)

authored by

Aleksana and committed by
GitHub
fd4ebb57 2514ce54

+8 -1
+8 -1
pkgs/by-name/ch/chawan/package.nix
··· 12 12 brotli, 13 13 zlib, 14 14 gitUpdater, 15 + versionCheckHook, 15 16 }: 16 17 17 18 stdenv.mkDerivation (finalAttrs: { ··· 73 74 wrapProgram $out/bin/mancha ${makeWrapperArgs} 74 75 ''; 75 76 77 + nativeInstallCheckInputs = [ 78 + versionCheckHook 79 + ]; 80 + doInstallCheck = true; 81 + versionCheckProgramArg = "--version"; 82 + 76 83 passthru.updateScript = gitUpdater { rev-prefix = "v"; }; 77 84 78 85 meta = { 79 86 description = "Lightweight and featureful terminal web browser"; 80 87 homepage = "https://sr.ht/~bptato/chawan/"; 81 88 changelog = "https://git.sr.ht/~bptato/chawan/refs/v${finalAttrs.version}"; 82 - license = lib.licenses.publicDomain; 89 + license = lib.licenses.unlicense; 83 90 platforms = lib.platforms.unix; 84 91 maintainers = with lib.maintainers; [ ]; 85 92 mainProgram = "cha";