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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
679 B
Nix
Raw Normal View History

2019-12-18 16:50:10 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "neo-cowsay";
2023-07-10 03:59:03 +00:00
version = "2.0.4";
2019-12-18 16:50:10 +00:00
src = fetchFromGitHub {
owner = "Code-Hex";
repo = "Neo-cowsay";
rev = "v${version}";
2023-07-10 03:59:03 +00:00
hash = "sha256-DmIjqBTIzwkQ8aJ6xCgIwjDtczlTH5AKbPKFUGx3qQ8=";
2019-12-18 16:50:10 +00:00
};
2023-07-10 03:59:03 +00:00
vendorHash = "sha256-gBURmodXkod4fukw6LWEY+MBxPcf4vn/f6K78UR77n0=";
modRoot = "./cmd";
2019-12-18 16:50:10 +00:00
doCheck = false;
2023-07-10 03:59:03 +00:00
subPackages = [ "cowsay" "cowthink" ];
2019-12-18 16:50:10 +00:00
meta = with lib; {
description = "Cowsay reborn, written in Go";
homepage = "https://github.com/Code-Hex/Neo-cowsay";
2023-07-10 03:59:03 +00:00
license = with licenses; [ artistic1 /* or */ gpl3 ];
maintainers = with maintainers; [ Br1ght0ne ];
2019-12-18 16:50:10 +00:00
};
}