2022-08-02 06:43:57 +02:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "zed";
|
2023-10-19 18:46:53 +02:00
|
|
|
version = "0.15.0";
|
2022-08-02 06:43:57 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "authzed";
|
|
|
|
repo = "zed";
|
|
|
|
rev = "v${version}";
|
2023-10-19 18:46:53 +02:00
|
|
|
hash = "sha256-+YgGxqnHkdPbRbQj5o1+Hx259Ih07x0sdt6AHoD1UvI=";
|
2022-08-02 06:43:57 +02:00
|
|
|
};
|
|
|
|
|
2023-10-01 06:12:18 +02:00
|
|
|
vendorHash = "sha256-f0UNUOi0WXm06dko+7O00C0dla/JlfGlXaZ00TMX0WU=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|