diff --git a/pkgs/tools/misc/cowsay/default.nix b/pkgs/tools/misc/cowsay/default.nix new file mode 100644 index 000000000000..19747e92f0f6 --- /dev/null +++ b/pkgs/tools/misc/cowsay/default.nix @@ -0,0 +1,13 @@ +{ stdenv, fetchurl, perl }: + +stdenv.mkDerivation { + name = "cowsay-3.03"; + src = fetchurl { + url = http://www.nog.net/~tony/warez/cowsay-3.03.tar.gz; + sha256 = "1bxj802na2si2bk5zh7n0b7c33mg8a5n2wnvh0vihl9bmjkp51hb"; + }; + buildInputs = [perl]; + installPhase = '' + bash ./install.sh $out + ''; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7b43cae587e6..7281b659ce22 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -505,6 +505,8 @@ let convertlit = callPackage ../tools/text/convertlit { }; + cowsay = callPackage ../tools/misc/cowsay { }; + unifdef = callPackage ../development/tools/misc/unifdef { }; usb_modeswitch = callPackage ../development/tools/misc/usb-modeswitch { };