about summary refs log tree commit diff
path: root/pkgs/games/banner
diff options
context:
space:
mode:
authorPascal Wittmann <mail@pascal-wittmann.de>2015-07-08 20:51:38 +0200
committerPascal Wittmann <mail@pascal-wittmann.de>2015-07-09 12:39:47 +0200
commitbc61f91cc0243b1812407f46e43059c1d5ff43a4 (patch)
tree859080da3f56a6e48ba4d128c88b4da6e5088818 /pkgs/games/banner
parentbf86c228b902627046c7e78387b9a5f6e111e770 (diff)
banner: update from 1.3.2 to 1.3.3
Diffstat (limited to 'pkgs/games/banner')
-rw-r--r--pkgs/games/banner/default.nix50
1 files changed, 12 insertions, 38 deletions
diff --git a/pkgs/games/banner/default.nix b/pkgs/games/banner/default.nix
index e0dac80a8fef4..329a23ae81f45 100644
--- a/pkgs/games/banner/default.nix
+++ b/pkgs/games/banner/default.nix
@@ -1,50 +1,24 @@
-{ stdenv, fetchurl, flex, bison, ncurses, buddy, tecla, libsigsegv, gmpxx, makeWrapper }:
+{ stdenv, fetchurl }:
 
-let
-  # Banner depends on two separate libraries. Adding those libraries to
-  # the top-level seems like overkill, though, because no other tools
-  # seems to use them. So we'll build them within this expression.
-  mkDerivation = name: hash: deriv: stdenv.mkDerivation (deriv // {
-    inherit name;
+stdenv.mkDerivation rec {
+  name = "banner-1.3.3";
 
-    src = fetchurl {
-      url = "http://shh.thathost.com/pub-unix/files/${name}.tar.gz";
-      sha256 = hash;
-    };
-
-    configurePhase = "make dep CC=$CC";
-
-    buildPhase = "make OPTIM='-DNDEBUG -O3' CC=$CC";
-
-    installPhase = ''
-      make INSTBASEDIR=$out install
-      if [ -d $out/man ]; then
-        mkdir -p $out/share
-	mv -v $out/man $out/share/
-      fi
-    '';
-  });
-
-  shhopt = mkDerivation "shhopt-1.1.7" "bae94335124efa6fcc2f0a55cabd68c9c90be935bcdb8054d7e5188e0d5da679" {};
-
-  shhmsg = mkDerivation "shhmsg-1.4.1" "f65d45d3a5e415b541a1975e13fe7c5b58e21df6e9306cc3f7901279a9f6d461" {};
-
-in
-
-mkDerivation "banner-1.3.2" "0dc0ac0667b2e884a7f5ad3e467af68cd0fd5917f8c9aa19188e6452aa1fc6d5" {
-  buildInputs = [shhopt shhmsg];
+  src = fetchurl {
+    url = "http://software.cedar-solutions.com/ftp/software/${name}.tar.gz";
+    sha256 = "1njbgba0gzvrmdkvfjgrnvj0i80yi8k7mpkgyxaj07bmv9kc3h5v";
+  };
 
-  meta = {
-    homepage = "http://shh.thathost.com/pub-unix/";
+  meta = with stdenv.lib; {
+    homepage = http://software.cedar-solutions.com/utilities.html;
     description = "Print large banners to ASCII terminals";
-    license = stdenv.lib.licenses.gpl2;
+    license = licenses.gpl2;
 
     longDescription = ''
       An implementation of the traditional Unix-program used to display
       large characters.
     '';
 
-    platforms = stdenv.lib.platforms.all;
-    maintainers = [ stdenv.lib.maintainers.simons ];
+    platforms = platforms.all;
+    maintainers = with maintainers; [ simons pSub ];
   };
 }