summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/misc/uni/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/misc/uni/default.nix')
-rw-r--r--pkgs/applications/misc/uni/default.nix24
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 000000000000..61ea6578787f
--- /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 ];
+ };
+}