Unverified Commit 1bd94f17 authored by Paul Meyer's avatar Paul Meyer Committed by GitHub
Browse files

goat: unstable-2022-08-15 -> 0-unstable-2024-07-31 (#338137)

parents 783a2dbd 1eaba938
Loading
Loading
Loading
Loading
+15 −10
Original line number Diff line number Diff line
{ lib
, buildGoModule
, fetchFromGitHub
{
  lib,
  buildGoModule,
  fetchFromGitHub,
  nix-update-script,
}:

buildGoModule {
  pname = "goat";
  version = "unstable-2022-08-15"; # Upstream currently isn't doing tags/releases.
  version = "0-unstable-2024-07-31"; # Upstream currently isn't doing tags/releases.

  src = fetchFromGitHub {
    owner = "blampe";
    repo = "goat";
    rev = "07bb911fe3106cc3c1d1097318a9fffe816b59fe";
    hash = "sha256-gSSDp9Q2hGH85dkE7RoER5ig+Cz1oSOD0FNRBeTZM4U=";
    rev = "177de93b192b8ffae608e5d9ec421cc99bf68402";
    hash = "sha256-/DR6RN7dCROp18P7dgm4DMppwdtYl0AOVNMEtXz8ldk=";
  };

  vendorHash = "sha256-24YllmSUzRcqWbJ8NLyhsJaoGG2+yE8/eXX6teJ1nV8=";

  meta = with lib; {
  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 = licenses.mit;
    maintainers = with maintainers; [ katexochen ];
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ katexochen ];
    mainProgram = "goat";
    platforms = platforms.unix;
    platforms = lib.platforms.unix;
  };
}