mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-08 14:03:29 +00:00
8d2a5753fd
- Removes `sgx-sdk` dependency on EOL OpenSSL v1.1 - Updated ipp-crypto version is technically beyond the upstream `linux-sgx` repo's pinned version, but appears to work just as well. Diff: <https://github.com/intel/ipp-crypto/compare/ippcp_2021.7...ippcp_2021.9.0> Changelog: <https://github.com/intel/ipp-crypto/blob/ippcp_2021.9.0/CHANGELOG.md>
29 lines
479 B
Nix
29 lines
479 B
Nix
{ gcc11Stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, nasm
|
|
, openssl
|
|
, python3
|
|
, extraCmakeFlags ? [ ]
|
|
}:
|
|
gcc11Stdenv.mkDerivation rec {
|
|
pname = "ipp-crypto";
|
|
version = "2021.9.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "intel";
|
|
repo = "ipp-crypto";
|
|
rev = "ippcp_${version}";
|
|
hash = "sha256-+ITnxyrkDQp4xRa+PVzXdYsSkI5sMNwQGfGU+lFJ6co=";
|
|
};
|
|
|
|
cmakeFlags = [ "-DARCH=intel64" ] ++ extraCmakeFlags;
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
nasm
|
|
openssl
|
|
python3
|
|
];
|
|
}
|