depot/third_party/nixpkgs/pkgs/tools/networking/ddns-go/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

32 lines
642 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "ddns-go";
version = "5.6.4";
src = fetchFromGitHub {
owner = "jeessy2";
repo = pname;
rev = "v${version}";
hash = "sha256-wE4xzAH31yQ8xrA0dI7f961KNwK84gRSit+XNoW37pc=";
};
vendorHash = "sha256-e4mmUneFZCsteSrxfSeeky/pFc0sgNs0eRVnZQuG1ZI=";
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 ];
};
}