nixpkgs/pkgs/os-specific/linux/lvm2/default.nix
Eelco Dolstra 982a83aa2e * Added udisks, the replacement of the disk management bits of HAL
(which is obsolete).
* lvm2: updated to 2.02.86.  Also install the pkgconfig files and
  build liblvm2app.
* Added libatasmart (udisks dependency for querying ATA SMART status).
* Updated sg3_utils to 1.31.

svn path=/nixpkgs/branches/kde-4.7/; revision=27908
2011-07-23 01:29:51 +00:00

28 lines
683 B
Nix

{ stdenv, fetchurl, pkgconfig, udev }:
let
v = "2.02.86";
in
stdenv.mkDerivation {
name = "lvm2-${v}";
src = fetchurl {
url = "ftp://sources.redhat.com/pub/lvm2/old/LVM2.${v}.tgz";
sha256 = "0bam8ampdqn4xx2agrvh5vn4xdi0gb9lmfsm31fm302y52jsyz2m";
};
configureFlags =
"--disable-readline --enable-udev_rules --enable-udev_sync --enable-pkgconfig --enable-applib";
buildInputs = [ pkgconfig udev ];
# 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";
};
}