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