uni: add changelog to meta

authored by

Fabian Affolter and committed by
GitHub
f1cacf8b a011a85b

+11 -3
+11 -3
pkgs/applications/misc/uni/default.nix
··· 1 - { lib, buildGoModule, fetchFromGitHub }: 1 + { lib 2 + , buildGoModule 3 + , fetchFromGitHub 4 + }: 2 5 3 6 buildGoModule rec { 4 7 pname = "uni"; ··· 7 10 src = fetchFromGitHub { 8 11 owner = "arp242"; 9 12 repo = "uni"; 10 - rev = "v${version}"; 13 + rev = "refs/tags/v${version}"; 11 14 hash = "sha256-kWiglMuJdcD7z2MDfz1MbItB8r9BJ7LUqfPfJa8QkLA="; 12 15 }; 13 16 14 17 vendorHash = "sha256-6HNFCUSJA6oduCx/SCUQQeCHGS7ohaWRunixdwMurBw="; 15 18 16 - ldflags = [ "-s" "-w" "-X main.version=${version}" ]; 19 + ldflags = [ 20 + "-s" 21 + "-w" 22 + "-X=main.version=${version}" 23 + ]; 17 24 18 25 meta = with lib; { 19 26 homepage = "https://github.com/arp242/uni"; 20 27 description = "Query the Unicode database from the commandline, with good support for emojis"; 28 + changelog = "https://github.com/arp242/uni/releases/tag/v${version}"; 21 29 license = licenses.mit; 22 30 maintainers = with maintainers; [ chvp ]; 23 31 };