Added midnight commander package
svn path=/nixpkgs/trunk/; revision=10257
This commit is contained in:
parent
1128aed05d
commit
8c9f87cd0c
7
pkgs/tools/misc/mc/builder.sh
Normal file
7
pkgs/tools/misc/mc/builder.sh
Normal file
|
@ -0,0 +1,7 @@
|
|||
source $stdenv/setup
|
||||
|
||||
tar xfvz $src
|
||||
cd mc-*
|
||||
./configure --prefix=$out --with-screen=ncurses
|
||||
make
|
||||
make install
|
11
pkgs/tools/misc/mc/default.nix
Normal file
11
pkgs/tools/misc/mc/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{stdenv, fetchurl, pkgconfig, glib, ncurses, libX11}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
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";
|
||||
};
|
||||
buildInputs = [pkgconfig glib ncurses libX11];
|
||||
builder = ./builder.sh;
|
||||
}
|
Loading…
Reference in a new issue