tint: init at 0.1.6

This commit is contained in:
Ashish Kumar
2025-06-09 23:02:34 +05:30
parent a460f7a689
commit 52a4cdaeae
+40
View File
@@ -0,0 +1,40 @@
{
lib,
buildGoModule,
fetchFromGitHub,
versionCheckHook,
}:
buildGoModule rec {
pname = "tint";
version = "0.1.6";
src = fetchFromGitHub {
owner = "ashish0kumar";
repo = "tint";
tag = "v${version}";
hash = "sha256-TZYAcs6h4Fv0XpUqzgCcAF5cHGaVKMMCJ6MTAH6C6Jo=";
};
vendorHash = null;
ldflags = [
"-s"
"-w"
"-X main.version=${version}"
];
doInstallCheck = true;
nativeInstallCheckInputs = [
versionCheckHook
];
meta = {
description = "Command-line tool to recolor images using theme palettes";
homepage = "https://github.com/ashish0kumar/tint";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ashish0kumar ];
mainProgram = "tint";
platforms = lib.platforms.unix;
};
}