Skip to content

Commit 0671b88

Browse files
dsferruzzaglobin
authored andcommittedJul 19, 2017
veracrypt: 1.19 -> 1.21
1 parent 4cc69fa commit 0671b88

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed
 

‎pkgs/applications/misc/veracrypt/default.nix

+7-8
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,25 @@
1-
{ fetchurl, stdenv, pkgconfig, nasm, fuse, wxGTK30, devicemapper, makeself,
1+
{ fetchurl, stdenv, pkgconfig, yasm, fuse, wxGTK30, devicemapper, makeself,
22
wxGUI ? true
33
}:
44

55
with stdenv.lib;
66

77
stdenv.mkDerivation rec {
88
name = "veracrypt-${version}";
9-
version = "1.19";
9+
version = "1.21";
1010

1111
src = fetchurl {
12-
url = "https://launchpad.net/veracrypt/trunk/${version}/+download/VeraCrypt_${version}_Source.tar.gz";
13-
sha256 = "111xs1zmic82lpn5spn0ca33q0g4za04a2k4cvjwdb7k3vcicq6v";
12+
url = "https://launchpad.net/veracrypt/trunk/${version}/+download/VeraCrypt_${version}_Source.tar.bz2";
13+
sha256 = "0n036znmwnv70wy8r2j3b55bx2z3cch5fr83vnwjvzyyp0j7swa4";
1414
};
1515

16-
# The source archive appears to be compressed twice ...
1716
unpackPhase =
1817
''
19-
gzip -dc $src | tar xz
20-
cd Vera*/src
18+
tar xjf $src
19+
cd src
2120
'';
2221

23-
nativeBuildInputs = [ makeself nasm pkgconfig ];
22+
nativeBuildInputs = [ makeself yasm pkgconfig ];
2423
buildInputs = [ fuse devicemapper ]
2524
++ optional wxGUI wxGTK30;
2625
makeFlags = optionalString (!wxGUI) "NOGUI=1";

0 commit comments

Comments
 (0)
Please sign in to comment.