Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
35 lines
682 B
Nix
35 lines
682 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "ddns-go";
|
|
version = "6.12.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jeessy2";
|
|
repo = "ddns-go";
|
|
rev = "v${version}";
|
|
hash = "sha256-8k3WxNSt+DvfdmWH/V3rAlOSHeyf+g5mmXQZghCf7K4=";
|
|
};
|
|
|
|
vendorHash = "sha256-f94Ox/8MQgy3yyLRTK0WFHebntSUAGlbr4/IY+wrz4w=";
|
|
|
|
ldflags = [
|
|
"-X main.version=${version}"
|
|
];
|
|
|
|
# network required
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/jeessy2/ddns-go";
|
|
description = "Simple and easy to use DDNS";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ oluceps ];
|
|
mainProgram = "ddns-go";
|
|
};
|
|
}
|