nixpkgs-suyu/pkgs/servers/spicedb/zed.nix
2023-04-25 19:38:05 +00:00

29 lines
711 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "zed";
version = "0.10.1";
src = fetchFromGitHub {
owner = "authzed";
repo = "zed";
rev = "v${version}";
hash = "sha256-hSm8k4QnUDaKNOX7f019nDwWijrqljZ3X0g7hE1TdsY=";
};
vendorHash = "sha256-aRXlyj8QHGsynSc09Earwz6eihRW3bu21+OTtiWPCCg=";
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 ];
};
}