nixpkgs/pkgs/os-specific/linux/dmraid/default.nix
Michael Raskin 107a5ee327 Adding dmraid
svn path=/nixpkgs/trunk/; revision=17292
2009-09-20 08:38:30 +00:00

34 lines
805 B
Nix

a :
let
s = import ./src-for-default.nix;
buildInputs = with a; [
devicemapper
];
in
rec {
src = a.fetchUrlFromSrcInfo s;
inherit (s) name;
inherit buildInputs;
configureFlags = [];
/* doConfigure should be removed if not needed */
phaseNames = ["doConfigure" "doMakeInstall"];
goSrcDir = "cd */";
meta = {
description = "Old-style RAID configuration utility.";
longDescritipn = ''
Old RAID configuration utility (still under development, though).
It is fully compatible with modern kernels and mdadm recognizes
its volumes. May be needed for rescuing an older system or nuking
the metadata when reformatting.
'';
maintainers = [
a.lib.maintainers.raskin
];
platforms = with a.lib.platforms;
linux;
};
}