mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
31 lines
736 B
Nix
31 lines
736 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "zed";
|
|
version = "0.18.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "authzed";
|
|
repo = "zed";
|
|
rev = "v${version}";
|
|
hash = "sha256-+FXFHjGWKcIt3urDokk5PF24JPVs21RbQtpcYz2midM=";
|
|
};
|
|
|
|
vendorHash = "sha256-Z6j4w4/anfK0ln2MvgnwZFoe8BA5jVHG3g9m2TynmmE=";
|
|
|
|
meta = with lib; {
|
|
description = "Command line for managing SpiceDB";
|
|
mainProgram = "zed";
|
|
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 ];
|
|
};
|
|
}
|