From 37b404816a45bd66e37617e198d20c2dd0653465 Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Mon, 30 Jan 2012 19:05:24 +0000 Subject: [PATCH] add cowsay svn path=/nixpkgs/trunk/; revision=31936 --- pkgs/tools/misc/cowsay/default.nix | 13 +++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 15 insertions(+) create mode 100644 pkgs/tools/misc/cowsay/default.nix 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 { };