3
0
Fork 0
forked from mirrors/nixpkgs

mc nix-expr review

svn path=/nixpkgs/trunk/; revision=10361
This commit is contained in:
Yury G. Kudryashov 2008-01-28 19:49:59 +00:00
parent 3d2853cc3f
commit 0b15fe76ab
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";
src = fetchurl {
url = http://www.ibiblio.org/pub/Linux/utils/file/managers/mc/mc-4.6.1.tar.gz;
md5 = "18b20db6e40480a53bac2870c56fc3c4";
url = "http://www.ibiblio.org/pub/Linux/utils/file/managers/mc/${name}.tar.gz";
sha256 = "0zly25mwdn84s0wqx9mzyqi177mm828716nv1n6a4a5cm8yv0sh8";
};
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;
};
}