diff --git a/pkgs/tools/networking/ddns-go/default.nix b/pkgs/tools/networking/ddns-go/default.nix new file mode 100644 index 000000000000..97b34f85a546 --- /dev/null +++ b/pkgs/tools/networking/ddns-go/default.nix @@ -0,0 +1,32 @@ +{ lib +, buildGoModule +, fetchFromGitHub +}: + +buildGoModule rec { + pname = "ddns-go"; + version = "5.5.1"; + + src = fetchFromGitHub { + owner = "jeessy2"; + repo = pname; + rev = "v${version}"; + hash = "sha256-fjfY0QLXewbjpoTbPjSEyrTXppzZ/LjvkFjc782Scp0="; + }; + + 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 4c48b73f18c0..31df042ebbe9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -37262,6 +37262,8 @@ with pkgs; inherit (darwin.apple_sdk.frameworks) Carbon Cocoa OpenGL Security; }; + ddns-go = callPackage ../tools/networking/ddns-go { }; + devilutionx = callPackage ../games/devilutionx { fmt = fmt_9; SDL2 = SDL2.override {