mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
1eaba9381c
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
32 lines
826 B
Nix
32 lines
826 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
}:
|
|
|
|
buildGoModule {
|
|
pname = "goat";
|
|
version = "0-unstable-2024-07-31"; # Upstream currently isn't doing tags/releases.
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "blampe";
|
|
repo = "goat";
|
|
rev = "177de93b192b8ffae608e5d9ec421cc99bf68402";
|
|
hash = "sha256-/DR6RN7dCROp18P7dgm4DMppwdtYl0AOVNMEtXz8ldk=";
|
|
};
|
|
|
|
vendorHash = "sha256-24YllmSUzRcqWbJ8NLyhsJaoGG2+yE8/eXX6teJ1nV8=";
|
|
|
|
passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };
|
|
|
|
meta = {
|
|
description = "Go ASCII Tool. Render ASCII art as SVG diagrams";
|
|
homepage = "https://github.com/blampe/goat";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ katexochen ];
|
|
mainProgram = "goat";
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
}
|