forked from mirrors/nixpkgs
b18031c413
* maintainers: remove chiiruno * nixos/zeronet.nix: replace chiiruno with Madouura * nixos/hydron: replace chiiruno with Madouura * nixos/tests/bcachefs: replace chiiruno with Madouura * lutris: replace chiiruno with Madouura * qtchan: replace chiiruno with Madouura * tinygo: replace chiiruno with Madouura * vlang: replace chiiruno with Madouura * merkletools: replace chiiruno with Madouura * easyjson: replace chiiruno with Madouura * quicktemplate: replace chiiruno with Madouura * statik: replace chiiruno with Madouura * dumb: replace chiiruno with Madouura * sndio: replace chiiruno with Madouura * hydron: replace chiiruno with Madouura * edid-decode-unstable: replace chiiruno with Madouura * tewisay: replace chiiruno with Madouura * svt-av1: replace chiiruno with Madouura
36 lines
892 B
Nix
36 lines
892 B
Nix
{ lib, buildGoPackage, fetchFromGitHub, makeWrapper }:
|
|
|
|
buildGoPackage rec {
|
|
pname = "tewisay-unstable";
|
|
version = "2017-04-14";
|
|
|
|
goPackagePath = "github.com/lucy/tewisay";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lucy";
|
|
repo = "tewisay";
|
|
rev = "e3fc38737cedb79d93b8cee07207c6c86db4e488";
|
|
sha256 = "1na3xi4z90v8qydcvd3454ia9jg7qhinciy6kvgyz61q837cw5dk";
|
|
};
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
postInstall = ''
|
|
install -D -t $out/share/tewisay/cows go/src/${goPackagePath}/cows/*.cow
|
|
'';
|
|
|
|
preFixup = ''
|
|
wrapProgram $out/bin/tewisay \
|
|
--prefix COWPATH : $out/share/tewisay/cows
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/lucy/tewisay";
|
|
description = "Cowsay replacement with unicode and partial ansi escape support";
|
|
license = licenses.cc0;
|
|
maintainers = with maintainers; [ Madouura ];
|
|
};
|
|
}
|