mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03:00
mc nix-expr review
svn path=/nixpkgs/branches/stdenv-updates/; revision=10269
This commit is contained in:
parent
da57804fff
commit
f7da6595d6
@ -1,7 +0,0 @@
|
|||||||
source $stdenv/setup
|
|
||||||
|
|
||||||
tar xfvz $src
|
|
||||||
cd mc-*
|
|
||||||
./configure --prefix=$out --with-screen=ncurses
|
|
||||||
make
|
|
||||||
make install
|
|
@ -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;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user