mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-05 09:58:50 +03:00
smtprelay: add changelog to meta
- equalize file content
This commit is contained in:
parent
6afbeda9d6
commit
1449ebdc34
@ -1,4 +1,8 @@
|
|||||||
{ lib, buildGoModule, fetchFromGitHub }:
|
{ lib
|
||||||
|
, buildGoModule
|
||||||
|
, fetchFromGitHub
|
||||||
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "smtprelay";
|
pname = "smtprelay";
|
||||||
version = "1.10.0";
|
version = "1.10.0";
|
||||||
@ -6,7 +10,7 @@ buildGoModule rec {
|
|||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "decke";
|
owner = "decke";
|
||||||
repo = "smtprelay";
|
repo = "smtprelay";
|
||||||
rev = "v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-zZ3rgbo8nvrpFMtUmhyXnTgoVd0FIh1kWzuM2hCh5gY=";
|
hash = "sha256-zZ3rgbo8nvrpFMtUmhyXnTgoVd0FIh1kWzuM2hCh5gY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -15,11 +19,16 @@ buildGoModule rec {
|
|||||||
CGO_ENABLED = 0;
|
CGO_ENABLED = 0;
|
||||||
|
|
||||||
# We do not supply the build time as the build wouldn't be reproducible otherwise.
|
# We do not supply the build time as the build wouldn't be reproducible otherwise.
|
||||||
ldflags = [ "-s" "-w" "-X main.appVersion=v${version}" ];
|
ldflags = [
|
||||||
|
"-s"
|
||||||
|
"-w"
|
||||||
|
"-X=main.appVersion=v${version}"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/decke/smtprelay";
|
homepage = "https://github.com/decke/smtprelay";
|
||||||
description = "Simple Golang SMTP relay/proxy server";
|
description = "Simple Golang SMTP relay/proxy server";
|
||||||
|
changelog = "https://github.com/decke/smtprelay/releases/tag/v${version}";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ juliusrickert ];
|
maintainers = with maintainers; [ juliusrickert ];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user