From 6a197290608d7e40d2561b9cd683e17ba47bfab8 Mon Sep 17 00:00:00 2001 From: Nicolas M Date: Fri, 15 Apr 2022 19:14:19 +0200 Subject: [PATCH] wishlist: init at 0.4.0 --- pkgs/servers/wishlist/default.nix | 27 +++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/servers/wishlist/default.nix diff --git a/pkgs/servers/wishlist/default.nix b/pkgs/servers/wishlist/default.nix new file mode 100644 index 000000000000..73a77a7bfc64 --- /dev/null +++ b/pkgs/servers/wishlist/default.nix @@ -0,0 +1,27 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "wishlist"; + version = "0.4.0"; + + src = fetchFromGitHub { + owner = "charmbracelet"; + repo = "wishlist"; + rev = "v${version}"; + sha256 = "sha256-qXCPxFdwX+z0aaZbqFt7bWPlBJDnr0SDMrBHSALX1aw="; + }; + + vendorSha256 = "sha256-vLhRZVEiYUCvGqPMtOz/8T6W5AKwkSzPdEglG3AevE8="; + + doCheck = false; + + ldflags = [ "-s" "-w" "-X=main.Version=${version}" ]; + + meta = with lib; { + description = "A single entrypoint for multiple SSH endpoints"; + homepage = "https://github.com/charmbracelet/wishlist"; + changelog = "https://github.com/charmbracelet/wishlist/releases/tag/v${version}"; + license = licenses.mit; + maintainers = with maintainers; [ penguwin ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 09612b03e61f..6d2252d87735 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -22643,6 +22643,8 @@ with pkgs; webmetro = callPackage ../servers/webmetro { }; + wishlist = callPackage ../servers/wishlist { }; + wsdd = callPackage ../servers/wsdd { }; webhook = callPackage ../servers/http/webhook { };