nixpkgs/pkgs/tools/misc/neo-cowsay/default.nix
Manuel 9a747326c4
neo-cowsay: set meta.mainProgram (#297206)
Co-authored-by: Manu [tennox] <tennox+git@txlab.io>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2024-03-19 17:40:23 +01:00

30 lines
707 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 ];
mainProgram = "cowsay";
};
}