depot/third_party/nixpkgs/pkgs/tools/networking/ddns-go/default.nix

33 lines
642 B
Nix
Raw Normal View History

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