bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
33 lines
671 B
Nix
33 lines
671 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "ddns-go";
|
|
version = "6.6.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jeessy2";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-rl0J10HuZ7WBnOTylCW0MrNFEoKoBwUicJWy9vcQIew=";
|
|
};
|
|
|
|
vendorHash = "sha256-dJXXGoTzgbmpDoAYKfkUgsmQILQQ+zbE14+BiaNEHSs=";
|
|
|
|
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";
|
|
};
|
|
}
|