nixpkgs/pkgs/tools/misc/neo-cowsay/default.nix
2023-07-10 03:59:03 +00:00

29 lines
679 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "neo-cowsay";
version = "2.0.4";
src = fetchFromGitHub {
owner = "Code-Hex";
repo = "Neo-cowsay";
rev = "v${version}";
hash = "sha256-DmIjqBTIzwkQ8aJ6xCgIwjDtczlTH5AKbPKFUGx3qQ8=";
};
vendorHash = "sha256-gBURmodXkod4fukw6LWEY+MBxPcf4vn/f6K78UR77n0=";
modRoot = "./cmd";
doCheck = false;
subPackages = [ "cowsay" "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 ];
};
}