2020-04-24 23:36:52 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "neo-cowsay";
|
|
|
|
version = "1.0.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Code-Hex";
|
|
|
|
repo = "Neo-cowsay";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0c6lygdqi26mczij41sn8ckc3g6qaakkkh3iasf10a4d07amxci1";
|
|
|
|
};
|
|
|
|
|
2020-05-15 21:57:56 +00:00
|
|
|
vendorSha256 = "1clar59x2dvn7yj4fbylby9nrzy8kdixi48hkbmrv8g5l8n0wdl2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
subPackages = [ "cmd/cowsay" "cmd/cowthink" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Cowsay reborn, written in Go";
|
|
|
|
homepage = "https://github.com/Code-Hex/Neo-cowsay";
|
|
|
|
license = with licenses; [artistic1 /* or */ gpl3];
|
|
|
|
maintainers = with maintainers; [ filalex77 ];
|
|
|
|
};
|
2020-05-15 21:57:56 +00:00
|
|
|
}
|