mirror of
https://github.com/matter-labs/vault-auth-tee.git
synced 2025-07-22 07:54:47 +02:00
chore: use snowfall lib for nix flake
Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
This commit is contained in:
parent
1cd15d46d0
commit
a43f83d834
6 changed files with 165 additions and 64 deletions
26
packages/vault-auth-tee/default.nix
Normal file
26
packages/vault-auth-tee/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ lib
|
||||
, pkgs
|
||||
, ...
|
||||
}:
|
||||
|
||||
pkgs.buildGoModule {
|
||||
buildInputs = with pkgs; [
|
||||
nixsgx.sgx-sdk
|
||||
nixsgx.sgx-dcap
|
||||
nixsgx.sgx-dcap.quote_verify
|
||||
];
|
||||
|
||||
name = "vault-auth-tee";
|
||||
src = with lib.fileset; toSource {
|
||||
root = ./../..;
|
||||
fileset = unions [
|
||||
../../go.mod
|
||||
../../go.sum
|
||||
../../cmd
|
||||
../../test-fixtures
|
||||
(fileFilter (file: file.hasExt "go") ./../..)
|
||||
];
|
||||
};
|
||||
|
||||
vendorHash = "sha256-t59C0yzJzFAXNXYOFbta2g5CYlkfvlukq42cxCwLaGY=";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue