23b612e36f
GitOrigin-RevId: ae5c332cbb5827f6b1f02572496b141021de335f
32 lines
642 B
Nix
32 lines
642 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "ddns-go";
|
|
version = "6.0.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jeessy2";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-hfL4heW2p1JdNEAQqsRMmvXSeBkw/zWfXk0YPXyqLXk=";
|
|
};
|
|
|
|
vendorHash = "sha256-UsMeYI/YogTbwyaJjVZbGMbxa434BDRBF+5VoSk6G9k=";
|
|
|
|
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 ];
|
|
};
|
|
}
|