2016-11-05 03:04:05 +00:00
|
|
|
{ stdenv, fetchgit, perl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "cowsay-3.03+dfsg1-16";
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = https://anonscm.debian.org/git/collab-maint/cowsay.git;
|
|
|
|
rev = "acb946c166fa3b9526b9c471ef1330f9f89f9c8b";
|
|
|
|
sha256 = "1ji66nrdcc8sh79hwils3nbaj897s352r5wp7kzjwiym8bm2azk6";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ perl ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
bash ./install.sh $out
|
|
|
|
'';
|
|
|
|
|
2018-08-15 19:21:16 +01:00
|
|
|
meta = with stdenv.lib; {
|
2016-11-05 03:04:05 +00:00
|
|
|
description = "A program which generates ASCII pictures of a cow with a message";
|
2018-08-15 19:21:16 +01:00
|
|
|
homepage = https://en.wikipedia.org/wiki/Cowsay;
|
|
|
|
license = licenses.gpl1;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.rob ];
|
2016-11-05 03:04:05 +00:00
|
|
|
};
|
|
|
|
}
|