uni: add changelog to meta

This commit is contained in:
Fabian Affolter 2023-08-23 17:27:06 +02:00 committed by GitHub
parent a011a85b11
commit f1cacf8bcc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}";
rev = "refs/tags/v${version}";
hash = "sha256-kWiglMuJdcD7z2MDfz1MbItB8r9BJ7LUqfPfJa8QkLA=";
};
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 ];
};