mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 20:53:48 +00:00
33 lines
642 B
Nix
33 lines
642 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "ddns-go";
|
|
version = "5.6.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jeessy2";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-uVYTAJhTQDNknBZmE8uaX4h5lU7cb/cyzIoTV2iHGJ8=";
|
|
};
|
|
|
|
vendorHash = "sha256-azsXfWa4w3wZaiy9AKy7UPOybikubcJvLsXthYedmbY=";
|
|
|
|
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 ];
|
|
};
|
|
}
|