From 01678c2c31735137c0585c66b22b88a93c90009b Mon Sep 17 00:00:00 2001 From: Austin Seipp Date: Mon, 1 Aug 2022 23:43:57 -0500 Subject: [PATCH] spicedb-zed: init at 0.4.4 Signed-off-by: Austin Seipp --- pkgs/servers/spicedb/zed.nix | 29 +++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 31 insertions(+) create mode 100644 pkgs/servers/spicedb/zed.nix diff --git a/pkgs/servers/spicedb/zed.nix b/pkgs/servers/spicedb/zed.nix new file mode 100644 index 000000000000..39ac2ddc6d60 --- /dev/null +++ b/pkgs/servers/spicedb/zed.nix @@ -0,0 +1,29 @@ +{ lib +, buildGoModule +, fetchFromGitHub +}: + +buildGoModule rec { + pname = "zed"; + version = "0.4.4"; + + src = fetchFromGitHub { + owner = "authzed"; + repo = "zed"; + rev = "v${version}"; + hash = "sha256-tw8Z8JtmmRLcvFacRDAdIi6TyMtm9FAZvRYNgd49qXg="; + }; + + vendorHash = "sha256-/BxQiaBFkJsySnQRU870CzvPxtPwvdwx4DwSzhaYYYQ="; + + meta = with lib; { + description = "Command line for managing SpiceDB"; + longDescription = '' + SpiceDB is an open-source permissions database inspired by + Google Zanzibar. zed is the command line client for SpiceDB. + ''; + homepage = "https://authzed.com/"; + license = licenses.asl20; + maintainers = with maintainers; [ thoughtpolice ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index aac309c23b2c..3a5f5c7feda2 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -13538,6 +13538,8 @@ with pkgs; remarkable2-toolchain = callPackage ../development/tools/misc/remarkable/remarkable2-toolchain { }; + spicedb-zed = callPackage ../servers/spicedb/zed.nix { }; + tacacsplus = callPackage ../servers/tacacsplus { }; tamarin-prover =