* Added mdadm (raidtools replacement).

svn path=/nixpkgs/trunk/; revision=7627
This commit is contained in:
Eelco Dolstra 2007-01-10 21:47:03 +00:00
parent 2f7c9b8fe2
commit 067f450909
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,19 @@
{stdenv, fetchurl, groff}:
stdenv.mkDerivation {
name = "mdadm-2.6";
src = fetchurl {
url = http://www.cse.unsw.edu.au/~neilb/source/mdadm/mdadm-2.6.tgz;
md5 = "15019078eacc8c21eac7b0b7faf86129";
};
buildInputs = [groff];
preBuild = "
makeFlags=\"INSTALL=install BINDIR=$out/sbin MANDIR=$out/share/man\"
";
meta = {
description = "Programs for managing RAID arrays under Linux";
};
}

View File

@ -2247,6 +2247,10 @@ rec {
inherit fetchurl stdenv devicemapper; inherit fetchurl stdenv devicemapper;
}; };
mdadm = import ../os-specific/linux/mdadm {
inherit fetchurl stdenv groff;
};
mingetty = import ../os-specific/linux/mingetty { mingetty = import ../os-specific/linux/mingetty {
inherit fetchurl stdenv; inherit fetchurl stdenv;
}; };