nixpkgs/pkgs/os-specific/linux/lvm2/default.nix
Yury G. Kudryashov 8e35598f6b lvm-2.02.87, patch udev rules
svn path=/nixpkgs/branches/udev-173/; revision=28661
2011-08-18 13:05:03 +00:00

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