@@ -1,50 +1,24 @@
1−{ stdenv, fetchurl, flex, bison, ncurses, buddy, tecla, libsigsegv, gmpxx, makeWrapper }:
1+{ stdenv, fetchurl }:
22
3−let
4− # Banner depends on two separate libraries. Adding those libraries to
5− # the top-level seems like overkill, though, because no other tools
6− # seems to use them. So we'll build them within this expression.
7− mkDerivation = name: hash: deriv: stdenv.mkDerivation (deriv // {
8− inherit name;
3+stdenv.mkDerivation rec {
4+ name = "banner-1.3.3";
95
10− src = fetchurl {
11− url = "http://shh.thathost.com/pub-unix/files/${name}.tar.gz";
12− sha256 = hash;
13− };
14−
15− configurePhase = "make dep CC=$CC";
16−
17− buildPhase = "make OPTIM='-DNDEBUG -O3' CC=$CC";
18−
19− installPhase = ''
20− make INSTBASEDIR=$out install
21− if [ -d $out/man ]; then
22− mkdir -p $out/share
23− mv -v $out/man $out/share/
24− fi
25− '';
26− });
27−
28− shhopt = mkDerivation "shhopt-1.1.7" "bae94335124efa6fcc2f0a55cabd68c9c90be935bcdb8054d7e5188e0d5da679" {};
29−
30− shhmsg = mkDerivation "shhmsg-1.4.1" "f65d45d3a5e415b541a1975e13fe7c5b58e21df6e9306cc3f7901279a9f6d461" {};
31−
32−in
33−
34−mkDerivation "banner-1.3.2" "0dc0ac0667b2e884a7f5ad3e467af68cd0fd5917f8c9aa19188e6452aa1fc6d5" {
35− buildInputs = [shhopt shhmsg];
6+ src = fetchurl {
7+ url = "http://software.cedar-solutions.com/ftp/software/${name}.tar.gz";
8+ sha256 = "1njbgba0gzvrmdkvfjgrnvj0i80yi8k7mpkgyxaj07bmv9kc3h5v";
9+ };
3610
37− meta = {
38− homepage = "http://shh.thathost.com/pub-unix/";
11+ meta = with stdenv.lib; {
12+ homepage = http://software.cedar-solutions.com/utilities.html;
3913 description = "Print large banners to ASCII terminals";
40− license = stdenv.lib.licenses.gpl2;
14+ license = licenses.gpl2;
4115
4216 longDescription = ''
4317 An implementation of the traditional Unix-program used to display
4418 large characters.
4519 '';
4620
47− platforms = stdenv.lib.platforms.all;
48− maintainers = [ stdenv.lib.maintainers.simons ];
21+ platforms = platforms.all;
22+ maintainers = with maintainers; [ simons pSub ];
4923 };
5024}