mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
cloudflare-dynamic-dns: init at 4.3.0 (#337547)
This commit is contained in:
commit
c44ce60a56
|
@ -23162,6 +23162,12 @@
|
|||
github = "zbioe";
|
||||
githubId = 7332055;
|
||||
};
|
||||
zebradil = {
|
||||
email = "german.lashevich+nixpkgs@gmail.com";
|
||||
github = "zebradil";
|
||||
githubId = 1475583;
|
||||
name = "German Lashevich";
|
||||
};
|
||||
zebreus = {
|
||||
matrix = "@lennart:cicen.net";
|
||||
email = "lennarteichhorn+nixpkgs@gmail.com";
|
||||
|
|
43
pkgs/by-name/cl/cloudflare-dynamic-dns/package.nix
Normal file
43
pkgs/by-name/cl/cloudflare-dynamic-dns/package.nix
Normal file
|
@ -0,0 +1,43 @@
|
|||
{
|
||||
lib,
|
||||
buildGoModule,
|
||||
cloudflare-dynamic-dns,
|
||||
fetchFromGitHub,
|
||||
testers,
|
||||
}:
|
||||
buildGoModule rec {
|
||||
pname = "cloudflare-dynamic-dns";
|
||||
version = "4.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zebradil";
|
||||
repo = "cloudflare-dynamic-dns";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-3sE4iaSkCAAMJ6FtZgXXkjb0aO73ehluY3WMQlOgxwc=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-/UaTOCbE8ieCtME6AudbXE5ntCptPFoESYrdn7qK0MU=";
|
||||
|
||||
subPackages = ".";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X=main.version=${version}"
|
||||
"-X=main.commit=nixpkg-${version}"
|
||||
"-X=main.date=1970-01-01"
|
||||
];
|
||||
|
||||
CGO_ENABLED = 0;
|
||||
|
||||
passthru.tests.version = testers.testVersion { package = cloudflare-dynamic-dns; };
|
||||
|
||||
meta = with lib; {
|
||||
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 = licenses.mit;
|
||||
mainProgram = "cloudflare-dynamic-dns";
|
||||
maintainers = [ maintainers.zebradil ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue