summary refs log blame commit diff
path: root/pkgs/tools/misc/neo-cowsay/default.nix
blob: e6b675e4d36f745d708658c1f6f6a2bf18a5b7a0 (plain) (tree)
1
2
3
4
5
6
7
8
9
10



                                        
                    




                         
                                                                 

    


                                                                     
 

                  
                                        



                                                        
                                                         
                                                  
    
 
{ 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 ];
  };
}