github-release: 0.10.1-unstable-2024-06-25 -> 0.11.0

Signed-off-by: Paul Meyer <katexochen0@gmail.com>

+14 -16
+14 -16
pkgs/by-name/gi/github-release/package.nix
··· 2 2 buildGoModule, 3 3 fetchFromGitHub, 4 4 lib, 5 - testers, 6 - github-release, 5 + nix-update-script, 6 + versionCheckHook, 7 7 }: 8 8 9 - buildGoModule rec { 9 + buildGoModule (finalAttrs: { 10 10 pname = "github-release"; 11 - version = "0.10.1-unstable-2024-06-25"; 11 + version = "0.11.0"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "github-release"; 15 15 repo = "github-release"; 16 - rev = "d250e89a7bf00d54e823b169c3a4722a55ac67b0"; 17 - hash = "sha256-QDImy9VNJ3hfGVCpMoJ72Za3CiM3SVNH1D9RFHVM+4I="; 16 + tag = "v${finalAttrs.version}"; 17 + hash = "sha256-foQZsYfYM/Cqtck+xfdup6WUeoBiqBTP7USCyPMv5q0="; 18 18 }; 19 19 20 20 vendorHash = null; 21 21 22 22 ldflags = [ "-s" ]; 23 23 24 - passthru.tests.version = testers.testVersion { 25 - package = github-release; 26 - version = "v${version}"; 27 - }; 24 + doInstallCheck = true; 25 + nativeInstallCheckInputs = [ versionCheckHook ]; 26 + 27 + passthru.updateScript = nix-update-script { }; 28 28 29 - meta = with lib; { 29 + meta = { 30 30 description = "Commandline app to create and edit releases on Github (and upload artifacts)"; 31 31 mainProgram = "github-release"; 32 32 longDescription = '' ··· 34 34 delete releases of your projects on Github. 35 35 In addition it allows you to attach files to those releases. 36 36 ''; 37 - 38 - license = licenses.mit; 37 + license = lib.licenses.mit; 39 38 homepage = "https://github.com/github-release/github-release"; 40 - maintainers = with maintainers; [ 39 + maintainers = with lib.maintainers; [ 41 40 ardumont 42 41 j03 43 42 ]; 44 - platforms = with platforms; unix; 45 43 }; 46 - } 44 + })