nixpkgs-suyu/pkgs/os-specific/linux/dmraid/default.nix

34 lines
805 B
Nix
Raw Normal View History

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;
};
}