mc nix-expr review

svn path=/nixpkgs/branches/stdenv-updates/; revision=10269
This commit is contained in:
Yury G. Kudryashov 2008-01-23 21:27:44 +00:00
parent da57804fff
commit f7da6595d6
2 changed files with 10 additions and 12 deletions

View File

@ -1,7 +0,0 @@
source $stdenv/setup
tar xfvz $src
cd mc-*
./configure --prefix=$out --with-screen=ncurses
make
make install

View File

@ -1,11 +1,16 @@
{stdenv, fetchurl, pkgconfig, glib, ncurses, libX11}: args: with args;
stdenv.mkDerivation { stdenv.mkDerivation rec {
name = "mc-4.6.1"; name = "mc-4.6.1";
src = fetchurl { src = fetchurl {
url = http://www.ibiblio.org/pub/Linux/utils/file/managers/mc/mc-4.6.1.tar.gz; url = "http://www.ibiblio.org/pub/Linux/utils/file/managers/mc/${name}.tar.gz";
md5 = "18b20db6e40480a53bac2870c56fc3c4"; sha256 = "0zly25mwdn84s0wqx9mzyqi177mm828716nv1n6a4a5cm8yv0sh8";
}; };
buildInputs = [pkgconfig glib ncurses libX11]; buildInputs = [pkgconfig glib ncurses libX11];
builder = ./builder.sh; configureFlags = "--with-screen=ncurses";
meta = {
description = "File Manager and User Shell for the GNU Project";
homepage = http://www.ibiblio.org/mc;
};
} }