diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2022-05-21 20:54:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-21 20:54:12 +0200 |
commit | 356c9d618d8397af992e78a59d2fc36243a27083 (patch) | |
tree | 4ba90a582fbef1c381bc1d874b8bf68126fe6c22 /pkgs/applications/misc | |
parent | bf3b55c0387159df815d8dfbfa286a2180e65e0b (diff) | |
parent | fd8983a40e68a67a471bf29d2807963ec5960807 (diff) |
Merge pull request #172302 from chvp/init-uni
uni: init at 2.5.1
Diffstat (limited to 'pkgs/applications/misc')
-rw-r--r-- | pkgs/applications/misc/uni/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/applications/misc/uni/default.nix b/pkgs/applications/misc/uni/default.nix new file mode 100644 index 0000000000000..61ea6578787f2 --- /dev/null +++ b/pkgs/applications/misc/uni/default.nix @@ -0,0 +1,24 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "uni"; + version = "2.5.1"; + + src = fetchFromGitHub { + owner = "arp242"; + repo = "uni"; + rev = "v${version}"; + sha256 = "kWiglMuJdcD7z2MDfz1MbItB8r9BJ7LUqfPfJa8QkLA="; + }; + + vendorSha256 = "6HNFCUSJA6oduCx/SCUQQeCHGS7ohaWRunixdwMurBw="; + + 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"; + license = licenses.mit; + maintainers = with maintainers; [ chvp ]; + }; +} |