From 77a84ae4dd02875e970d3d30eca54b5e0bd3beee Mon Sep 17 00:00:00 2001 From: Paul Meyer <49727155+katexochen@users.noreply.github.com> Date: Sun, 24 Sep 2023 18:00:16 +0200 Subject: [PATCH] goat: init at unstable-2022-08-15 Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> --- pkgs/by-name/go/goat/package.nix | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 pkgs/by-name/go/goat/package.nix diff --git a/pkgs/by-name/go/goat/package.nix b/pkgs/by-name/go/goat/package.nix new file mode 100644 index 000000000000..7dfc18719103 --- /dev/null +++ b/pkgs/by-name/go/goat/package.nix @@ -0,0 +1,26 @@ +{ lib +, buildGoModule +, fetchFromGitHub +}: +buildGoModule { + pname = "goat"; + version = "unstable-2022-08-15"; # Upstream currently isn't doing tags/releases. + + src = fetchFromGitHub { + owner = "blampe"; + repo = "goat"; + rev = "07bb911fe3106cc3c1d1097318a9fffe816b59fe"; + hash = "sha256-gSSDp9Q2hGH85dkE7RoER5ig+Cz1oSOD0FNRBeTZM4U="; + }; + + vendorHash = "sha256-24YllmSUzRcqWbJ8NLyhsJaoGG2+yE8/eXX6teJ1nV8="; + + meta = with lib; { + description = "Go ASCII Tool. Render ASCII art as SVG diagrams"; + homepage = "https://github.com/blampe/goat"; + license = licenses.mit; + maintainers = with maintainers; [ katexochen ]; + mainProgram = "goat"; + platforms = platforms.unix; + }; +}