Update and adopt LVM2.
This commit is contained in:
parent
655e5c01b4
commit
eb66d3654f
|
@ -1,15 +1,15 @@
|
||||||
{ stdenv, fetchurl, pkgconfig, udev, utillinux, coreutils }:
|
{ stdenv, fetchurl, pkgconfig, udev, utillinux, coreutils }:
|
||||||
|
|
||||||
let
|
let
|
||||||
v = "2.02.106";
|
version = "2.02.110";
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "lvm2-${v}";
|
name = "lvm2-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "ftp://sources.redhat.com/pub/lvm2/releases/LVM2.${v}.tgz";
|
url = "ftp://sources.redhat.com/pub/lvm2/releases/LVM2.${version}.tgz";
|
||||||
sha256 = "0nr833bl0q4zq52drjxmmpf7bs6kqxwa5kahwwxm9411khkxz0vc";
|
sha256 = "04fdzvv5431d1i4p701zkm9kc50087q56k7l2l5l5f3i9ah1mb9x";
|
||||||
};
|
};
|
||||||
|
|
||||||
configureFlags =
|
configureFlags =
|
||||||
|
@ -54,5 +54,8 @@ stdenv.mkDerivation {
|
||||||
homepage = http://sourceware.org/lvm2/;
|
homepage = http://sourceware.org/lvm2/;
|
||||||
descriptions = "Tools to support Logical Volume Management (LVM) on Linux";
|
descriptions = "Tools to support Logical Volume Management (LVM) on Linux";
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
maintainers = with stdenv.lib.maintainers; [raskin];
|
||||||
|
inherit version;
|
||||||
|
downloadPage = "ftp://sources.redhat.com/pub/lvm2/";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
4
pkgs/os-specific/linux/lvm2/default.upstream
Normal file
4
pkgs/os-specific/linux/lvm2/default.upstream
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
url ftp://sources.redhat.com/pub/lvm2/
|
||||||
|
version_link '[.]tgz$'
|
||||||
|
version '.*[^0-9.][^.]*[.]([0-9.]+)[.].*' '\1'
|
||||||
|
do_overwrite () { do_overwrite_just_version; }
|
Loading…
Reference in a new issue