From ba935dcbc03b8a51f91bb62fb131830b99e66855 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sun, 11 Dec 2011 19:39:12 +0000 Subject: [PATCH] upgraded cryptsetup svn path=/nixpkgs/trunk/; revision=30839 --- pkgs/os-specific/linux/cryptsetup/default.nix | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/pkgs/os-specific/linux/cryptsetup/default.nix b/pkgs/os-specific/linux/cryptsetup/default.nix index 765a49c64465..962de55a1568 100644 --- a/pkgs/os-specific/linux/cryptsetup/default.nix +++ b/pkgs/os-specific/linux/cryptsetup/default.nix @@ -1,19 +1,13 @@ -{stdenv, fetchurl, libuuid, popt, devicemapper, udev }: +{stdenv, fetchurl, libuuid, popt, devicemapper, libgcrypt }: stdenv.mkDerivation { - name = "cryptsetup-1.0.6"; + name = "cryptsetup-1.4.1"; src = fetchurl { - url = http://cryptsetup.googlecode.com/files/cryptsetup-1.0.6.tar.bz2; - sha256 = "df7fda80cfa01f063caf39140287a47d018dfe056fc71a3ba605e690ff0183fd"; + url = http://cryptsetup.googlecode.com/files/cryptsetup-1.4.1.tar.bz2; + sha256 = "82b143328c2b427ef2b89fb76c701d311c95b54093c21bbf22342f7b393bddcb"; }; - configureFlags = [ "--enable-libdevmapper" ]; - - patchPhase = '' - sed -i -e 's@/sbin/udevsettle@${udev}/sbin/udevadm settle@' lib/libdevmapper.c - ''; - - buildInputs = [ libuuid popt devicemapper ]; + buildInputs = [ libuuid popt devicemapper libgcrypt ]; meta = { homepage = http://code.google.com/p/cryptsetup/;