Skip to content

Commit

Permalink
fortanix-sgx-tools: init at 0.5.1 (NixOS#338280)
Browse files Browse the repository at this point in the history
  • Loading branch information
FliegendeWurst authored Dec 19, 2024
2 parents aa0bca5 + f037bfb commit 60a34da
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions pkgs/by-name/fo/fortanix-sgx-tools/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
lib,
fetchCrate,
rustPlatform,
pkg-config,
openssl_3,
protobuf,
}:
rustPlatform.buildRustPackage rec {
pname = "fortanix-sgx-tools";
version = "0.5.1";
nativeBuildInputs = [
pkg-config
protobuf
];
buildInputs = [ openssl_3 ];
src = fetchCrate {
inherit pname version;
hash = "sha256-F0lZG1neAPVvyOxUtDPv0t7o+ZC+aQRtpFeq55QwcmE=";
};
cargoHash = "sha256-jYfsmPwhvt+ccUr4Vwq5q1YzNlxA+Vnpxd4KpWZrYo8=";
meta = {
description = "Tools for building and running enclaves for the Fortanix SGX ABI";
homepage = "https://github.com/fortanix/rust-sgx";
maintainers = [ lib.maintainers.ozwaldorf ];
platforms = [ "x86_64-linux" ];
license = lib.licenses.mpl20;
};
}

0 comments on commit 60a34da

Please sign in to comment.