Unverified Commit 02b4c139 authored by jopejoe1's avatar jopejoe1 Committed by GitHub
Browse files

longcat: init at 0.0.12 (#380813)

parents c39e50ac 6b6f4274
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -3570,6 +3570,12 @@
    githubId = 32319131;
    name = "Brett L";
  };
  bubblepipe = {
    email = "bubblepipe42@gmail.com";
    github = "bubblepipe";
    githubId = 30717258;
    name = "bubblepipe";
  };
  buckley310 = {
    email = "sean.bck@gmail.com";
    matrix = "@buckley310:matrix.org";
+36 −0
Original line number Diff line number Diff line
{
  lib,
  buildGoModule,
  fetchFromGitHub,
  nix-update-script,
}:

let
  version = "0.0.12";
in
buildGoModule {
  pname = "longcat";
  inherit version;

  src = fetchFromGitHub {
    owner = "mattn";
    repo = "longcat";
    tag = "v${version}";
    hash = "sha256-MiUkI7qCN/rDJUkBCyET19CH4iYnl1HwKjRZD2dCTVM=";
  };

  vendorHash = "sha256-ka58YOoyBKLX8Z9ak2+rERXsY3rPUaOanfIFErCJCdE=";

  passthru.updateScript = nix-update-script { };

  meta = {
    homepage = "https://github.com/mattn/longcat";
    description = "Renders a picture of a long cat on the terminal.";
    license = lib.licenses.mit;
    platforms = lib.platforms.all;
    mainProgram = "longcat";
    maintainers = with lib.maintainers; [
      bubblepipe
    ];
  };
}