lvm2: 2.02.177 -> 2.03.01

* switch to sources to git
* add libaio to buildInputs
This commit is contained in:
Markus Kowalewski 2018-12-08 19:55:40 +01:00
parent 6dad52ebf6
commit c047c26791
No known key found for this signature in database
GPG key ID: D865C8A91D7025EB

View file

@ -1,16 +1,18 @@
{ stdenv, fetchurl, fetchpatch, pkgconfig, systemd, udev, utillinux, libuuid
, thin-provisioning-tools, enable_dmeventd ? false }:
{ stdenv, fetchgit, fetchpatch, pkgconfig, systemd, udev, utillinux, libuuid
, thin-provisioning-tools, libaio
, enable_dmeventd ? false }:
let
version = "2.02.177";
version = "2.03.01";
in
stdenv.mkDerivation {
name = "lvm2-${version}";
src = fetchurl {
url = "ftp://sources.redhat.com/pub/lvm2/releases/LVM2.${version}.tgz";
sha256 = "1wl0isn0yz5wvglwylnlqkppafwmvhliq5bd92vjqp5ir4za49a0";
src = fetchgit {
url = "git://sourceware.org/git/lvm2.git";
rev = "v${builtins.replaceStrings [ "." ] [ "_" ] version}";
sha256 = "0jlaswf1srdxiqpgpp97j950ddjds8z0kr4pbwmal2za2blrgvbl";
};
configureFlags = [
@ -27,7 +29,7 @@ stdenv.mkDerivation {
];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ udev libuuid thin-provisioning-tools ];
buildInputs = [ udev libuuid thin-provisioning-tools libaio ];
preConfigure =
''