Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
32 lines
667 B
Nix
32 lines
667 B
Nix
{
|
|
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";
|
|
};
|
|
}
|