depot/third_party/nixpkgs/pkgs/applications/misc/uni/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

32 lines
741 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "uni";
version = "2.6.0";
src = fetchFromGitHub {
owner = "arp242";
repo = "uni";
rev = "refs/tags/v${version}";
hash = "sha256-Ij/jUbXl3GkeNZmGJ82i++6VkOW46YFI9m83otY6M7Q=";
};
vendorHash = "sha256-88SSrGvZSs6Opi3IKSNNqptuOWMmtTQ4ZDR7ViuGugk=";
ldflags = [
"-s"
"-w"
"-X=main.version=${version}"
];
meta = with lib; {
homepage = "https://github.com/arp242/uni";
description = "Query the Unicode database from the commandline, with good support for emojis";
changelog = "https://github.com/arp242/uni/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ chvp ];
};
}