mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-30 17:49:58 +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 {
|
||||
pname = "smtprelay";
|
||||
version = "1.10.0";
|
||||
@ -6,7 +10,7 @@ buildGoModule rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "decke";
|
||||
repo = "smtprelay";
|
||||
rev = "v${version}";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-zZ3rgbo8nvrpFMtUmhyXnTgoVd0FIh1kWzuM2hCh5gY=";
|
||||
};
|
||||
|
||||
@ -15,11 +19,16 @@ buildGoModule rec {
|
||||
CGO_ENABLED = 0;
|
||||
|
||||
# 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; {
|
||||
homepage = "https://github.com/decke/smtprelay";
|
||||
description = "Simple Golang SMTP relay/proxy server";
|
||||
changelog = "https://github.com/decke/smtprelay/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ juliusrickert ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user