depot/pkgs/applications/misc/tango/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

26 lines
634 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "tango";
version = "1.1.0";
src = fetchFromGitHub {
owner = "masakichi";
repo = "tango";
rev = "v${version}";
hash = "sha256-e/M2iRm/UwfnRVnMo1PmQTkz4IGTxnsCXNSSUkhsiHk=";
};
vendorHash = "sha256-83nKtiEy1na1HgAQcbTEfl+0vGg6BkCLBK1REN9fP+k=";
meta = with lib; {
description = "Local command-line Japanese dictionary tool using yomichan's dictionary files";
homepage = "https://github.com/masakichi/tango";
license = licenses.mit;
maintainers = with maintainers; [ donovanglover ];
mainProgram = "tango";
};
}