cryptsetup-1.4.1
Thanks to Mathijs Kwik and Peter Simons for preparing this. Make sure you have nixos r31132. svn path=/nixpkgs/trunk/; revision=31134
This commit is contained in:
parent
daa459cc8a
commit
d5709cfb64
|
@ -1,25 +1,19 @@
|
||||||
{stdenv, fetchurl, libuuid, popt, devicemapper, udev }:
|
{stdenv, fetchurl, devicemapper, libgcrypt, libuuid, pkgconfig, popt, udev }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
name = "cryptsetup-1.0.6";
|
name = "cryptsetup-1.4.1";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://cryptsetup.googlecode.com/files/cryptsetup-1.0.6.tar.bz2;
|
url = "http://cryptsetup.googlecode.com/files/${name}.tar.bz2";
|
||||||
sha256 = "df7fda80cfa01f063caf39140287a47d018dfe056fc71a3ba605e690ff0183fd";
|
sha256 = "82b143328c2b427ef2b89fb76c701d311c95b54093c21bbf22342f7b393bddcb";
|
||||||
};
|
};
|
||||||
|
|
||||||
configureFlags = [ "--enable-libdevmapper" ];
|
buildInputs = [ devicemapper libgcrypt libuuid pkgconfig popt ];
|
||||||
|
|
||||||
patchPhase = ''
|
|
||||||
sed -i -e 's@/sbin/udevsettle@${udev}/sbin/udevadm settle@' lib/libdevmapper.c
|
|
||||||
'';
|
|
||||||
|
|
||||||
buildInputs = [ libuuid popt devicemapper ];
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://code.google.com/p/cryptsetup/;
|
homepage = http://code.google.com/p/cryptsetup/;
|
||||||
description = "LUKS for dm-crypt";
|
description = "LUKS for dm-crypt";
|
||||||
license = "GPLv2";
|
license = "GPLv2";
|
||||||
maintainers = with stdenv.lib.maintainers; [viric];
|
maintainers = with stdenv.lib.maintainers; [ viric chaoflow ];
|
||||||
platforms = with stdenv.lib.platforms; linux;
|
platforms = with stdenv.lib.platforms; linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue