mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 19:23:50 +00:00
603db2cc14
Signed-off-by: Austin Seipp <aseipp@pobox.com>
33 lines
708 B
Nix
33 lines
708 B
Nix
|
|
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "spicedb";
|
|
version = "1.11.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "authzed";
|
|
repo = "spicedb";
|
|
rev = "v${version}";
|
|
hash = "sha256-X52sf21IMr5muEx9SUoYQmFonXDPeW8NKylPmoAZYjw";
|
|
};
|
|
|
|
vendorHash = "sha256-lO4H2DlMfYuV2BYPnMV3Ynx0khFE6KDxf/aXA53pBpU";
|
|
|
|
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 ];
|
|
};
|
|
}
|