depot/third_party/nixpkgs/pkgs/tools/filesystems/nixpart/0.4/dmraid.nix
Default email ce641f4048 Project import generated by Copybara.
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
2021-12-06 17:07:01 +01:00

27 lines
792 B
Nix

{ lib, stdenv, fetchurl, lvm2 }:
stdenv.mkDerivation rec {
pname = "dmraid";
version = "1.0.0.rc15";
src = fetchurl {
url = "https://people.redhat.com/~heinzm/sw/dmraid/src/old/dmraid-${version}.tar.bz2";
sha256 = "01bcaq0sc329ghgj7f182xws7jgjpdc41bvris8fsiprnxc7511h";
};
preConfigure = "cd */";
buildInputs = [ lvm2 ];
meta = with lib; {
description = "Old-style RAID configuration utility";
longDescription = ''
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 = [ maintainers.raskin ];
platforms = platforms.linux;
};
}