chisel: add changelog to meta

This commit is contained in:
Fabian Affolter 2023-01-28 17:06:27 +01:00 committed by GitHub
parent 41a9aa0580
commit fb2c343fa1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
{ buildGoModule { lib
, buildGoModule
, fetchFromGitHub , fetchFromGitHub
, lib
}: }:
buildGoModule rec { buildGoModule rec {
@ -10,15 +10,19 @@ buildGoModule rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jpillora"; owner = "jpillora";
repo = pname; repo = pname;
rev = "v${version}"; rev = "refs/tags/v${version}";
sha256 = "sha256-N2voSclNH7lGbUkZo2gkrEb6XoA5f0BzNgAzQs1lOKQ="; hash = "sha256-N2voSclNH7lGbUkZo2gkrEb6XoA5f0BzNgAzQs1lOKQ=";
}; };
vendorSha256 = "sha256-p/5g4DLoUhEPFBtAbMiIgc6O4eAfbiqBjCqYkyUHy70="; vendorHash = "sha256-p/5g4DLoUhEPFBtAbMiIgc6O4eAfbiqBjCqYkyUHy70=";
ldflags = [ "-s" "-w" "-X github.com/jpillora/chisel/share.BuildVersion=${version}" ]; ldflags = [
"-s"
"-w"
"-X github.com/jpillora/chisel/share.BuildVersion=${version}"
];
# tests require access to the network # Tests require access to the network
doCheck = false; doCheck = false;
meta = with lib; { meta = with lib; {
@ -30,6 +34,7 @@ buildGoModule rec {
used to provide a secure endpoint into your network. used to provide a secure endpoint into your network.
''; '';
homepage = "https://github.com/jpillora/chisel"; homepage = "https://github.com/jpillora/chisel";
changelog = "https://github.com/jpillora/chisel/releases/tag/v${version}";
license = with licenses; [ mit ]; license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
}; };