chisel: add changelog to meta
This commit is contained in:
parent
41a9aa0580
commit
fb2c343fa1
|
@ -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 ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue