2023-07-29 16:42:14 +02:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "ddns-go";
|
2023-11-22 23:19:44 +01:00
|
|
|
version = "5.6.6";
|
2023-07-29 16:42:14 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jeessy2";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-11-22 23:19:44 +01:00
|
|
|
hash = "sha256-4OBY2Bj23uOBOAHKmOpecFXu0Lr8sLrwiU3/BdHpGOQ=";
|
2023-07-29 16:42:14 +02:00
|
|
|
};
|
|
|
|
|
2023-10-10 17:58:44 +02:00
|
|
|
vendorHash = "sha256-e4mmUneFZCsteSrxfSeeky/pFc0sgNs0eRVnZQuG1ZI=";
|
2023-07-29 16:42:14 +02:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|