Skip to content

Commit

Permalink
sgxs-tools: init at version 0.8.6
Browse files Browse the repository at this point in the history
  • Loading branch information
ozwaldorf committed Aug 29, 2024
1 parent 80d3619 commit 6e56797
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions pkgs/by-name/sg/sgxs-tools/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
lib,
fetchzip,
rustPlatform,
pkg-config,
openssl_3,
protobuf,
}:
rustPlatform.buildRustPackage rec {
pname = "sgxs-tools";
version = "0.8.6";
nativeBuildInputs = [
pkg-config
protobuf
];
buildInputs = [ openssl_3 ];
src = fetchzip {
url = "https://crates.io/api/v1/crates/${pname}/${version}/download";
extension = "tar.gz";
hash = "sha256-24lUhi4IPv+asM51/BfufkOUYVellXoXsbWXWN/zoBw=";
};
cargoHash = "sha256-vtuOCLo7qBOfqMynykqf9folmlETx3or35+CuTurh3s=";
meta = {
description = "Utilities for working with the SGX stream format";
homepage = "https://github.com/fortanix/rust-sgx";
maintainers = [ ];
platforms = [ "x86_64-linux" ];
license = [ lib.licenses.mpl20 ];
};
}

0 comments on commit 6e56797

Please sign in to comment.