diff options
author | Charlotte Van Petegem <charlotte.vanpetegem@ugent.be> | 2022-05-10 09:55:17 +0200 |
---|---|---|
committer | Charlotte Van Petegem <charlotte@vanpetegem.me> | 2022-05-15 13:37:14 +0200 |
commit | fd8983a40e68a67a471bf29d2807963ec5960807 (patch) | |
tree | 386528caaf157f60bf99aa13afb2960b6ed0786e /pkgs/applications | |
parent | aa3b0b19f0c451fe1e2a69fe45f1e7a6b2741235 (diff) |
uni: init at 2.5.1
Diffstat (limited to 'pkgs/applications')
-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 ]; + }; +} |