c7e6337bd0
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
32 lines
710 B
Nix
32 lines
710 B
Nix
|
|
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "spicedb";
|
|
version = "1.20.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "authzed";
|
|
repo = "spicedb";
|
|
rev = "v${version}";
|
|
hash = "sha256-gTQ6AiFcx9ckygZt8l5BWHfk8wv0Z7xCirPzCPkloKA=";
|
|
};
|
|
|
|
vendorHash = "sha256-sL2i9kpMuJIdkDXOXJVMzYBiIsU7duu/tRfDaLPjbwo=";
|
|
|
|
subPackages = [ "cmd/spicedb" ];
|
|
|
|
meta = with lib; {
|
|
description = "Open source permission database";
|
|
longDescription = ''
|
|
SpiceDB is an open-source permissions database inspired by
|
|
Google Zanzibar.
|
|
'';
|
|
homepage = "https://authzed.com/";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ thoughtpolice ];
|
|
};
|
|
}
|