parent
b9b5a8d7c1
commit
26fa2425c6
@ -1,33 +1,26 @@
|
|||||||
a :
|
{ stdenv, fetchurl, devicemapper }:
|
||||||
let
|
|
||||||
s = import ./src-for-default.nix;
|
|
||||||
buildInputs = with a; [
|
|
||||||
devicemapper
|
|
||||||
];
|
|
||||||
in
|
|
||||||
rec {
|
|
||||||
src = a.fetchUrlFromSrcInfo s;
|
|
||||||
|
|
||||||
inherit (s) name;
|
stdenv.mkDerivation rec {
|
||||||
inherit buildInputs;
|
name = "dmraid-1.0.0.rc15";
|
||||||
configureFlags = [];
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://people.redhat.com/~heinzm/sw/dmraid/src/old/${name}.tar.bz2";
|
||||||
|
sha256 = "01bcaq0sc329ghgj7f182xws7jgjpdc41bvris8fsiprnxc7511h";
|
||||||
|
};
|
||||||
|
|
||||||
|
preConfigure = "cd */";
|
||||||
|
|
||||||
|
buildInputs = [ devicemapper ];
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
|
||||||
phaseNames = ["doConfigure" "doMakeInstall"];
|
|
||||||
goSrcDir = "cd */";
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Old-style RAID configuration utility.";
|
description = "Old-style RAID configuration utility";
|
||||||
longDescritipn = ''
|
longDescritipn = ''
|
||||||
Old RAID configuration utility (still under development, though).
|
Old RAID configuration utility (still under development, though).
|
||||||
It is fully compatible with modern kernels and mdadm recognizes
|
It is fully compatible with modern kernels and mdadm recognizes
|
||||||
its volumes. May be needed for rescuing an older system or nuking
|
its volumes. May be needed for rescuing an older system or nuking
|
||||||
the metadata when reformatting.
|
the metadata when reformatting.
|
||||||
'';
|
'';
|
||||||
maintainers = [
|
maintainers = [ stdenv.lib.maintainers.raskin ];
|
||||||
a.lib.maintainers.raskin
|
platforms = stdenv.lib.platforms.linux;
|
||||||
];
|
|
||||||
platforms = with a.lib.platforms;
|
|
||||||
linux;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
rec {
|
|
||||||
version="1.0.0.rc15";
|
|
||||||
name="dmraid-1.0.0.rc15";
|
|
||||||
hash="01bcaq0sc329ghgj7f182xws7jgjpdc41bvris8fsiprnxc7511h";
|
|
||||||
url="http://people.redhat.com/~heinzm/sw/dmraid/src/old/dmraid-${version}.tar.bz2";
|
|
||||||
advertisedUrl="http://people.redhat.com/~heinzm/sw/dmraid/src/old/dmraid-1.0.0.rc15.tar.bz2";
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
downloadPage = "http://people.redhat.com/~heinzm/sw/dmraid/src/old/?C=M;O=D";
|
|
||||||
baseName = "dmraid";
|
|
||||||
sourceRegexp = "^.*[.]tar[.]bz2\$";
|
|
||||||
versionExtractorSedScript = ''s/.*-(.*)[.]tar[.]bz2/\1/'';
|
|
||||||
}
|
|
@ -5445,9 +5445,7 @@ let
|
|||||||
inherit (xlibs) xproto;
|
inherit (xlibs) xproto;
|
||||||
};
|
};
|
||||||
|
|
||||||
dmraid = builderDefsPackage ../os-specific/linux/dmraid {
|
dmraid = callPackage ../os-specific/linux/dmraid { };
|
||||||
inherit devicemapper;
|
|
||||||
};
|
|
||||||
|
|
||||||
drbd = callPackage ../os-specific/linux/drbd { };
|
drbd = callPackage ../os-specific/linux/drbd { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user