mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 16:53:21 +00:00
9a747326c4
Co-authored-by: Manu [tennox] <tennox+git@txlab.io> Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
30 lines
707 B
Nix
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";
|
|
};
|
|
}
|