summary refs log tree commit diff
path: root/pkgs/tools/misc/most
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2010-04-30 09:21:18 +0000
committerPeter Simons <simons@cryp.to>2010-04-30 09:21:18 +0000
commitc82a9c8e104c7c49308c6fa8cab2f35878ba8364 (patch)
tree1eb58f9639d8affd2258a797e731697472435739 /pkgs/tools/misc/most
parent7b6ce0f9df38d40188b36f556edec3e65ac29562 (diff)
downloadnixlib-c82a9c8e104c7c49308c6fa8cab2f35878ba8364.tar
nixlib-c82a9c8e104c7c49308c6fa8cab2f35878ba8364.tar.gz
nixlib-c82a9c8e104c7c49308c6fa8cab2f35878ba8364.tar.bz2
nixlib-c82a9c8e104c7c49308c6fa8cab2f35878ba8364.tar.lz
nixlib-c82a9c8e104c7c49308c6fa8cab2f35878ba8364.tar.xz
nixlib-c82a9c8e104c7c49308c6fa8cab2f35878ba8364.tar.zst
nixlib-c82a9c8e104c7c49308c6fa8cab2f35878ba8364.zip
pkgs/tools/misc/most: added version 5.0.0
Build instructions courtesy of Tim Horton <tmhorton@gmail.com>.

svn path=/nixpkgs/trunk/; revision=21452
Diffstat (limited to 'pkgs/tools/misc/most')
-rw-r--r--pkgs/tools/misc/most/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/tools/misc/most/default.nix b/pkgs/tools/misc/most/default.nix
new file mode 100644
index 000000000000..f4dc4fb184b0
--- /dev/null
+++ b/pkgs/tools/misc/most/default.nix
@@ -0,0 +1,29 @@
+{stdenv, fetchurl, slang}:
+
+stdenv.mkDerivation {
+    name = "most-5.0.0";
+
+    src = fetchurl {
+        url = ftp://space.mit.edu/pub/davis/most/most-5.0.0.tar.bz2;
+        sha256 = "1f5x7rvjg89b5klfqs1gb91jmbnd3fy08d8rwgdvgg0plqkxr7ja";
+    };
+
+    preConfigure = ''
+        sed -i -e "s|-ltermcap|-ncurses|" configure
+        sed -i autoconf/Makefile.in src/Makefile.in \
+            -e "s|/bin/cp|cp|"  \
+            -e "s|/bin/rm|rm|"
+    '';
+    configureFlags = "--with-slang=${slang}";
+
+    buildInputs = [ slang ];
+
+    meta = {
+        description = ''
+            MOST is a powerful paging program for Unix, VMS, MSDOS, and win32
+            systems. Unlike other well-known paging programs most supports multiple
+            windows and can scroll left and right. Why settle for less?
+        '';
+        homepage = http://www.jedsoft.org/most/index.html;
+    };
+}