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