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 19:07:09 +01:00
src = fetchurl {
url = http://www.nog.net/~tony/warez/cowsay-3.03.tar.gz;
2013-01-29 19:07:09 +01:00
sha256 = "1s3c0g5vmsadicc4lrlkmkm8znm4y6wnxd8kyv9xgm676hban1il";
};
2013-01-29 19:07:09 +01:00
buildInputs = [ perl ];
installPhase = ''
bash ./install.sh $out
'';
meta = {
2013-01-29 19:07:09 +01: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 19:07:09 +01:00
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.rob ];
};
}