summary refs log tree commit diff
path: root/pkgs/applications/misc/truecrypt/default.nix
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2009-10-02 08:00:30 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2009-10-02 08:00:30 +0000
commit4e93d167d83c33284aa7e7c324f4f425722994aa (patch)
tree46ca544fa3c2c582f6bd876c1672550fb66fb6d2 /pkgs/applications/misc/truecrypt/default.nix
parent9245074c64269e33174dce2653802846296921c9 (diff)
downloadnixlib-4e93d167d83c33284aa7e7c324f4f425722994aa.tar
nixlib-4e93d167d83c33284aa7e7c324f4f425722994aa.tar.gz
nixlib-4e93d167d83c33284aa7e7c324f4f425722994aa.tar.bz2
nixlib-4e93d167d83c33284aa7e7c324f4f425722994aa.tar.lz
nixlib-4e93d167d83c33284aa7e7c324f4f425722994aa.tar.xz
nixlib-4e93d167d83c33284aa7e7c324f4f425722994aa.tar.zst
nixlib-4e93d167d83c33284aa7e7c324f4f425722994aa.zip
Fixing truecrypt
They removed the url for that package version, I updated to the latest.
I changed the name from 'trueCrypt' to 'truecrypt'
I added an option for it not to have a gui built.

svn path=/nixpkgs/trunk/; revision=17587
Diffstat (limited to 'pkgs/applications/misc/truecrypt/default.nix')
-rw-r--r--pkgs/applications/misc/truecrypt/default.nix12
1 files changed, 7 insertions, 5 deletions
diff --git a/pkgs/applications/misc/truecrypt/default.nix b/pkgs/applications/misc/truecrypt/default.nix
index 572b096e03a5..6f5b1d85994e 100644
--- a/pkgs/applications/misc/truecrypt/default.nix
+++ b/pkgs/applications/misc/truecrypt/default.nix
@@ -40,16 +40,17 @@ library, use the 'NOGUI' parameter:
    $ make NOGUI=1
 */
 
-{ fetchurl, stdenv, pkgconfig, fuse, wxGTK, devicemapper
+{ fetchurl, stdenv, pkgconfig, fuse, wxGTK, devicemapper,
+  wxGUI ? true
 }:
 
 stdenv.mkDerivation {
-  name = "trueCrypt-6.1a";
+  name = "truecrypt-6.2a";
   builder = ./builder.sh;
 
   src = fetchurl {
-    url = http://www.sfr-fresh.com/unix/misc/TrueCrypt-6.1a-Source.tar.gz;
-    sha256 = "a2bb8273edcb3c3d10d9819daac853f940033deb1f9726986311356bd5b88c4a";
+    url = http://www.sfr-fresh.com/unix/misc/TrueCrypt-6.2a-Source.tar.gz;
+    sha256 = "1a75wkn33bdcjhb483f383hid5w9p0ap1xk0lj226350pm71sa56";
   };
 
   pkcs11h = fetchurl {
@@ -67,7 +68,8 @@ stdenv.mkDerivation {
     sha256 = "5ae6a4f32ca737e02def3bf314c9842fb89be82bf00b6f4022a97d8d565522b8";
   };
 
-  buildInputs = [pkgconfig fuse wxGTK devicemapper];
+  buildInputs = [ pkgconfig fuse devicemapper wxGTK ]; 
+  makeFlags = if (wxGUI) then "" else "NOGUI=1";
 
   meta = {
     description = "Free Open-Source filesystem on-the-fly encryption";