Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / applications / misc / uni / default.nix
blob5f7db6f85bf7acbc0a6e836218bb13d0846d6525
1 { lib
2 , buildGoModule
3 , fetchFromGitHub
4 }:
6 buildGoModule rec {
7   pname = "uni";
8   version = "2.5.1";
10   src = fetchFromGitHub {
11     owner = "arp242";
12     repo = "uni";
13     rev = "refs/tags/v${version}";
14     hash = "sha256-kWiglMuJdcD7z2MDfz1MbItB8r9BJ7LUqfPfJa8QkLA=";
15   };
17   vendorHash = "sha256-6HNFCUSJA6oduCx/SCUQQeCHGS7ohaWRunixdwMurBw=";
19   ldflags = [
20     "-s"
21     "-w"
22     "-X=main.version=${version}"
23   ];
25   meta = with lib; {
26     homepage = "https://github.com/arp242/uni";
27     description = "Query the Unicode database from the commandline, with good support for emojis";
28     changelog = "https://github.com/arp242/uni/releases/tag/v${version}";
29     license = licenses.mit;
30     maintainers = with maintainers; [ chvp ];
31   };