nixpkgs-suyu/pkgs/tools/misc/neo-cowsay/default.nix

27 lines
667 B
Nix
Raw Normal View History

2019-12-18 17:50:10 +01:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "neo-cowsay";
2021-08-15 14:33:49 +02:00
version = "1.0.3";
2019-12-18 17:50:10 +01:00
src = fetchFromGitHub {
owner = "Code-Hex";
repo = "Neo-cowsay";
rev = "v${version}";
2021-08-15 14:33:49 +02:00
sha256 = "sha256-n01C6Z9nV2DDbSqgbOIZTqZAWXo6h4/NJdyFiOCh79A=";
2019-12-18 17:50:10 +01:00
};
2021-08-15 14:33:49 +02:00
vendorSha256 = "sha256-4qMsyNFD2MclsseE+IAaNm5r0wHWdcwLLPsZ0JJ3qpw=";
2019-12-18 17:50:10 +01:00
doCheck = false;
2019-12-18 17:50:10 +01: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; [ Br1ght0ne ];
2019-12-18 17:50:10 +01:00
};
}