From 107a5ee3272cc72bd4328ea96f10088e57d24907 Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Sun, 20 Sep 2009 08:38:30 +0000 Subject: Adding dmraid svn path=/nixpkgs/trunk/; revision=17292 --- pkgs/os-specific/linux/dmraid/default.nix | 33 +++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 pkgs/os-specific/linux/dmraid/default.nix (limited to 'pkgs/os-specific/linux/dmraid/default.nix') diff --git a/pkgs/os-specific/linux/dmraid/default.nix b/pkgs/os-specific/linux/dmraid/default.nix new file mode 100644 index 00000000000..aa78a517196 --- /dev/null +++ b/pkgs/os-specific/linux/dmraid/default.nix @@ -0,0 +1,33 @@ +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; + }; +} -- cgit 1.4.1