mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
Merge pull request #20329 from NeQuissimus/opencv3_ipp_sha256
opencv3: Move IPP to use sha256
This commit is contained in:
commit
843cfd6741
@ -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
|
||||
''
|
||||
|
Loading…
Reference in New Issue
Block a user