veracrypt: 1.19 -> 1.21
This commit is contained in:
parent
4cc69fac73
commit
0671b88115
@ -1,4 +1,4 @@
|
|||||||
{ fetchurl, stdenv, pkgconfig, nasm, fuse, wxGTK30, devicemapper, makeself,
|
{ fetchurl, stdenv, pkgconfig, yasm, fuse, wxGTK30, devicemapper, makeself,
|
||||||
wxGUI ? true
|
wxGUI ? true
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -6,21 +6,20 @@ with stdenv.lib;
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "veracrypt-${version}";
|
name = "veracrypt-${version}";
|
||||||
version = "1.19";
|
version = "1.21";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://launchpad.net/veracrypt/trunk/${version}/+download/VeraCrypt_${version}_Source.tar.gz";
|
url = "https://launchpad.net/veracrypt/trunk/${version}/+download/VeraCrypt_${version}_Source.tar.bz2";
|
||||||
sha256 = "111xs1zmic82lpn5spn0ca33q0g4za04a2k4cvjwdb7k3vcicq6v";
|
sha256 = "0n036znmwnv70wy8r2j3b55bx2z3cch5fr83vnwjvzyyp0j7swa4";
|
||||||
};
|
};
|
||||||
|
|
||||||
# The source archive appears to be compressed twice ...
|
|
||||||
unpackPhase =
|
unpackPhase =
|
||||||
''
|
''
|
||||||
gzip -dc $src | tar xz
|
tar xjf $src
|
||||||
cd Vera*/src
|
cd src
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ makeself nasm pkgconfig ];
|
nativeBuildInputs = [ makeself yasm pkgconfig ];
|
||||||
buildInputs = [ fuse devicemapper ]
|
buildInputs = [ fuse devicemapper ]
|
||||||
++ optional wxGUI wxGTK30;
|
++ optional wxGUI wxGTK30;
|
||||||
makeFlags = optionalString (!wxGUI) "NOGUI=1";
|
makeFlags = optionalString (!wxGUI) "NOGUI=1";
|
||||||
|
Loading…
Reference in New Issue
Block a user