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