5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
28 lines
480 B
Nix
28 lines
480 B
Nix
{ gcc11Stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, nasm
|
|
, openssl
|
|
, python3
|
|
, extraCmakeFlags ? [ ]
|
|
}:
|
|
gcc11Stdenv.mkDerivation rec {
|
|
pname = "ipp-crypto";
|
|
version = "2021.10.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "intel";
|
|
repo = "ipp-crypto";
|
|
rev = "ippcp_${version}";
|
|
hash = "sha256-DfXsJ+4XqyjCD+79LUD53Cx8D46o1a4fAZa2UxGI1Xg=";
|
|
};
|
|
|
|
cmakeFlags = [ "-DARCH=intel64" ] ++ extraCmakeFlags;
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
nasm
|
|
openssl
|
|
python3
|
|
];
|
|
}
|