commit
89837aba44
@ -1,4 +1,7 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "uni";
|
||||
@ -7,17 +10,22 @@ buildGoModule rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "arp242";
|
||||
repo = "uni";
|
||||
rev = "v${version}";
|
||||
sha256 = "kWiglMuJdcD7z2MDfz1MbItB8r9BJ7LUqfPfJa8QkLA=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-kWiglMuJdcD7z2MDfz1MbItB8r9BJ7LUqfPfJa8QkLA=";
|
||||
};
|
||||
|
||||
vendorSha256 = "6HNFCUSJA6oduCx/SCUQQeCHGS7ohaWRunixdwMurBw=";
|
||||
vendorHash = "sha256-6HNFCUSJA6oduCx/SCUQQeCHGS7ohaWRunixdwMurBw=";
|
||||
|
||||
ldflags = [ "-s" "-w" "-X main.version=${version}" ];
|
||||
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 ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user