2022-08-02 04:43:57 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "zed";
|
2023-02-27 23:25:03 +00:00
|
|
|
version = "0.10.0";
|
2022-08-02 04:43:57 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "authzed";
|
|
|
|
repo = "zed";
|
|
|
|
rev = "v${version}";
|
2023-02-27 23:25:03 +00:00
|
|
|
hash = "sha256-kmbZ0fi7rbJUsMREOH+IxHIDfZ2qy+AD8Px9pu4eSxM=";
|
2022-08-02 04:43:57 +00:00
|
|
|
};
|
|
|
|
|
2023-02-21 18:17:29 +00:00
|
|
|
vendorHash = "sha256-4Y/98VEZWjk2k4UPtGEumOMbjjR4V1OnPvj5mxuX/DQ=";
|
2022-08-02 04:43:57 +00: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 ];
|
|
|
|
};
|
|
|
|
}
|