2022-08-02 06:43:57 +02:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "zed";
|
2023-04-25 21:38:05 +02:00
|
|
|
version = "0.10.1";
|
2022-08-02 06:43:57 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "authzed";
|
|
|
|
repo = "zed";
|
|
|
|
rev = "v${version}";
|
2023-04-25 21:38:05 +02:00
|
|
|
hash = "sha256-hSm8k4QnUDaKNOX7f019nDwWijrqljZ3X0g7hE1TdsY=";
|
2022-08-02 06:43:57 +02:00
|
|
|
};
|
|
|
|
|
2023-04-25 21:38:05 +02:00
|
|
|
vendorHash = "sha256-aRXlyj8QHGsynSc09Earwz6eihRW3bu21+OTtiWPCCg=";
|
2022-08-02 06:43:57 +02:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|