nixpkgs/pkgs/os-specific/linux/sgx-sdk/ipp-crypto.nix
Sylvain Bellemare 27ea8a9b82 sgx-sdk: init at 2.14
Co-authored-by: Sylvain Bellemare <sbellem@gmail.com>
Co-authored-by: Artur Cygan <arczicygan@gmail.com>
2021-11-05 19:58:25 +01:00

24 lines
451 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
, python3
, nasm
, extraCmakeFlags ? []
}:
stdenv.mkDerivation rec {
pname = "ipp-crypto";
version = "2020_update3";
src = fetchFromGitHub {
owner = "intel";
repo = "ipp-crypto";
rev = "ipp-crypto_${version}";
sha256 = "02vlda6mlhbd12ljzdf65klpx4kmx1ylch9w3yllsiya4hwqzy4b";
};
cmakeFlags = [ "-DARCH=intel64" ] ++ extraCmakeFlags;
nativeBuildInputs = [ cmake python3 nasm ];
}