f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
33 lines
671 B
Nix
33 lines
671 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "ddns-go";
|
|
version = "6.6.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jeessy2";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-1rYxZIfzRuVGVlQOkXERh7uQhnr6n2Lw3I9aH3kMlzg=";
|
|
};
|
|
|
|
vendorHash = "sha256-XZii7gV3DmTunYyGYzt5xXhv/VpTPIoYKbW4LnmlAgs=";
|
|
|
|
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";
|
|
};
|
|
}
|