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