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
44 lines
1.0 KiB
Nix
44 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
cloudflare-dynamic-dns,
|
|
fetchFromGitHub,
|
|
testers,
|
|
}:
|
|
buildGoModule rec {
|
|
pname = "cloudflare-dynamic-dns";
|
|
version = "4.3.17";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zebradil";
|
|
repo = "cloudflare-dynamic-dns";
|
|
tag = version;
|
|
hash = "sha256-3almGQI4mS2JYJG3WrnCSm7ZgTwcSCOL9njau6peido=";
|
|
};
|
|
|
|
vendorHash = "sha256-dag6xFkf6F7lkgadsXmbMyZJ6KI0qvx9M1hF3cfyhZo=";
|
|
|
|
subPackages = ".";
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
"-X=main.version=${version}"
|
|
"-X=main.commit=nixpkg-${version}"
|
|
"-X=main.date=1970-01-01"
|
|
];
|
|
|
|
env.CGO_ENABLED = 0;
|
|
|
|
passthru.tests.version = testers.testVersion { package = cloudflare-dynamic-dns; };
|
|
|
|
meta = {
|
|
changelog = "https://github.com/Zebradil/cloudflare-dynamic-dns/blob/${version}/CHANGELOG.md";
|
|
description = "Dynamic DNS client for Cloudflare";
|
|
homepage = "https://github.com/Zebradil/cloudflare-dynamic-dns";
|
|
license = lib.licenses.mit;
|
|
mainProgram = "cloudflare-dynamic-dns";
|
|
maintainers = [ lib.maintainers.zebradil ];
|
|
};
|
|
}
|