urban-cli: init at 0.2.4

This commit is contained in:
Taufik Hidayat 2024-06-30 05:58:28 +07:00
parent eafa0f0f42
commit 662ad7a3f6

View File

@ -0,0 +1,32 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "urban-cli";
version = "0.2.4";
src = fetchFromGitHub {
owner = "tfkhdyt";
repo = "urban-cli";
rev = "v${version}";
hash = "sha256-URTEhtOiwb3IDyjRUtUmVTaeDXw4Beg0woWdGxeq098=";
};
vendorHash = "sha256-fEZzX+ecSWKITXczcwm5BGw5OWuixa4XKrEx8z0pxXQ=";
ldflags = [
"-s"
"-w"
];
meta = {
description = "Blazingly fast command line interface for Urban Dictionary";
homepage = "https://github.com/tfkhdyt/urban-cli";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ tfkhdyt ];
mainProgram = "urban-cli";
};
}