tint: 0.1.6 -> 0.1.7

This commit is contained in:
Ashish Kumar 2025-07-01 12:51:23 +05:30
parent e43ad0dde6
commit 67c6bd9ca5

View File

@ -3,17 +3,18 @@
buildGoModule, buildGoModule,
fetchFromGitHub, fetchFromGitHub,
versionCheckHook, versionCheckHook,
nix-update-script,
}: }:
buildGoModule rec { buildGoModule (finalAttrs: {
pname = "tint"; pname = "tint";
version = "0.1.6"; version = "0.1.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ashish0kumar"; owner = "ashish0kumar";
repo = "tint"; repo = "tint";
tag = "v${version}"; tag = "v${finalAttrs.version}";
hash = "sha256-TZYAcs6h4Fv0XpUqzgCcAF5cHGaVKMMCJ6MTAH6C6Jo="; hash = "sha256-Y2Jb/YF7rpEAmDVI5wEB+Sy7Ap2XxNrKQfnAogVdYSY=";
}; };
vendorHash = null; vendorHash = null;
@ -21,7 +22,7 @@ buildGoModule rec {
ldflags = [ ldflags = [
"-s" "-s"
"-w" "-w"
"-X main.version=${version}" "-X main.version=${finalAttrs.version}"
]; ];
doInstallCheck = true; doInstallCheck = true;
@ -29,7 +30,10 @@ buildGoModule rec {
versionCheckHook versionCheckHook
]; ];
passthru.updateScript = nix-update-script { };
meta = { meta = {
changelog = "https://github.com/ashish0kumar/tint/releases/tag/v${finalAttrs.version}";
description = "Command-line tool to recolor images using theme palettes"; description = "Command-line tool to recolor images using theme palettes";
homepage = "https://github.com/ashish0kumar/tint"; homepage = "https://github.com/ashish0kumar/tint";
license = lib.licenses.mit; license = lib.licenses.mit;
@ -37,4 +41,4 @@ buildGoModule rec {
mainProgram = "tint"; mainProgram = "tint";
platforms = lib.platforms.unix; platforms = lib.platforms.unix;
}; };
} })