Merge pull request #20329 from NeQuissimus/opencv3_ipp_sha256

opencv3: Move IPP to use sha256
This commit is contained in:
Daniel Peebles 2016-11-11 12:10:41 -05:00 committed by GitHub
commit 843cfd6741

View File

@ -46,14 +46,14 @@ stdenv.mkDerivation rec {
let ippicvVersion = "20151201";
ippicvPlatform = if stdenv.system == "x86_64-linux" || stdenv.system == "i686-linux" then "linux"
else throw "ICV is not available for this platform (or not yet supported by this package)";
ippicvHash = if ippicvPlatform == "linux" then "808b791a6eac9ed78d32a7666804320e"
ippicvHash = if ippicvPlatform == "linux" then "1nph0w0pdcxwhdb5lxkb8whpwd9ylvwl97hn0k425amg80z86cs3"
else throw "ippicvHash: impossible";
ippicvName = "ippicv_${ippicvPlatform}_${ippicvVersion}.tgz";
ippicvArchive = "3rdparty/ippicv/downloads/linux-${ippicvHash}/${ippicvName}";
ippicv = fetchurl {
url = "https://github.com/Itseez/opencv_3rdparty/raw/ippicv/master_${ippicvVersion}/ippicv/${ippicvName}";
md5 = ippicvHash;
sha256 = ippicvHash;
};
in lib.optionalString enableIpp
''