depot/third_party/nixpkgs/pkgs/tools/networking/ddns-go/default.nix
Default email 23b612e36f Project import generated by Copybara.
GitOrigin-RevId: ae5c332cbb5827f6b1f02572496b141021de335f
2024-01-25 23:12:00 +09:00

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 ];
};
}