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

24 lines
568 B
Nix
Raw Normal View History

{ stdenv, fetchurl, perl }:
stdenv.mkDerivation {
name = "cowsay-3.03";
2013-01-29 18:07:09 +00:00
src = fetchurl {
url = http://www.nog.net/~tony/warez/cowsay-3.03.tar.gz;
2013-01-29 18:07:09 +00:00
sha256 = "1s3c0g5vmsadicc4lrlkmkm8znm4y6wnxd8kyv9xgm676hban1il";
};
2013-01-29 18:07:09 +00:00
buildInputs = [ perl ];
installPhase = ''
bash ./install.sh $out
'';
meta = {
2013-01-29 18:07:09 +00:00
description = "A program which generates ASCII pictures of a cow with a message";
homepage = http://www.nog.net/~tony/warez/cowsay.shtml;
2013-01-29 18:07:09 +00:00
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.rob ];
};
}