veracrypt: 1.23-Hotfix-2 -> 1.24-Hotfix1

This commit is contained in:
Pavol Rusnak 2019-11-01 09:46:59 +01:00
parent 87955cb30a
commit 17e7fb2fef
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -1,21 +1,36 @@
{ stdenv, fetchurl, pkgconfig, makeself, yasm, fuse, unzip, wxGTK, lvm2 }:
{ stdenv, fetchurl, fetchpatch, pkgconfig, makeself, yasm, fuse, wxGTK, lvm2 }:
with stdenv.lib;
stdenv.mkDerivation rec {
pname = "veracrypt";
version = "1.23";
minorVersion = "-Hotfix-2";
version = "1.24-Hotfix1";
src = fetchurl {
url = "https://launchpad.net/${pname}/trunk/${version}/+download/VeraCrypt_${version}${minorVersion}_Source.zip";
sha256 = "229de81b2478cfa5fa73e74e60798a298cd616e9852b9f47b484c80bc2a2c259";
url = "https://launchpad.net/${pname}/trunk/${toLower version}/+download/VeraCrypt_${version}_Source.tar.bz2";
sha256 = "8b40ece805b216843d7a71b1a30069c4057931341b030bf65caace59263c5c8c";
};
patches = [
# https://github.com/veracrypt/VeraCrypt/issues/529 - fix build on non-x86
(fetchpatch {
url = "https://github.com/veracrypt/VeraCrypt/commit/afe6b2f45b15393026a1159e5f3d165ac7d0b94a.patch";
sha256 = "1xm9cl6zinlr0vah5xr9bvh0y9gw4331zl7d2n5xvqrcdxw3ww1y";
stripLen = 1;
})
# https://github.com/veracrypt/VeraCrypt/issues/529 - fix build on non-x86
(fetchpatch {
url = "https://github.com/veracrypt/VeraCrypt/commit/3fa636d477119fff6e372074568edb42d038f508.patch";
sha256 = "0qsccilip0ksnlzxina38a052gb533r4s422lxhrj3wv9zgpp7l3";
stripLen = 1;
})
];
sourceRoot = "src";
nativeBuildInputs = [ makeself pkgconfig yasm ];
buildInputs = [ fuse lvm2 unzip wxGTK ];
buildInputs = [ fuse lvm2 wxGTK ];
enableParallelBuilding = true;