forked from mirrors/nixpkgs
27b8b6cc66
svn path=/nixpkgs/trunk/; revision=20380
23 lines
525 B
Nix
23 lines
525 B
Nix
{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";
|
|
};
|
|
|
|
buildNativeInputs = [groff];
|
|
|
|
preBuild = ''
|
|
makeFlags="INSTALL=install BINDIR=$out/sbin MANDIR=$out/share/man"
|
|
if [ -n "$crossConfig" ]; then
|
|
makeFlags="$makeFlags CROSS_COMPILE=$crossConfig-"
|
|
fi
|
|
'';
|
|
|
|
meta = {
|
|
description = "Programs for managing RAID arrays under Linux";
|
|
};
|
|
}
|