8e35598f6b
svn path=/nixpkgs/branches/udev-173/; revision=28661
31 lines
754 B
Nix
31 lines
754 B
Nix
{ stdenv, fetchurl, pkgconfig, udev }:
|
|
|
|
let
|
|
v = "2.02.87";
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
name = "lvm2-${v}";
|
|
|
|
src = fetchurl {
|
|
url = "ftp://sources.redhat.com/pub/lvm2/old/LVM2.${v}.tgz";
|
|
sha256 = "04d605dac9r0yz9khx9pq6a8jdsf9arda2rz1a2d1qr3jhlw4kvg";
|
|
};
|
|
|
|
configureFlags =
|
|
"--disable-readline --enable-udev_rules --enable-udev_sync --enable-pkgconfig --enable-applib";
|
|
|
|
buildInputs = [ pkgconfig udev ];
|
|
|
|
patches = [ ./purity.patch ];
|
|
|
|
# To prevent make install from failing.
|
|
preInstall = "installFlags=\"OWNER= GROUP= confdir=$out/etc\"";
|
|
|
|
meta = {
|
|
homepage = http://sourceware.org/lvm2/;
|
|
descriptions = "Tools to support Logical Volume Management (LVM) on Linux";
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|