* Added mdadm (raidtools replacement).
svn path=/nixpkgs/trunk/; revision=7627
This commit is contained in:
parent
2f7c9b8fe2
commit
067f450909
19
pkgs/os-specific/linux/mdadm/default.nix
Normal file
19
pkgs/os-specific/linux/mdadm/default.nix
Normal 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";
|
||||
};
|
||||
}
|
|
@ -2247,6 +2247,10 @@ rec {
|
|||
inherit fetchurl stdenv devicemapper;
|
||||
};
|
||||
|
||||
mdadm = import ../os-specific/linux/mdadm {
|
||||
inherit fetchurl stdenv groff;
|
||||
};
|
||||
|
||||
mingetty = import ../os-specific/linux/mingetty {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue