2022-08-05 06:27:15 +02:00
|
|
|
|
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "spicedb";
|
2024-05-07 06:33:59 +02:00
|
|
|
version = "1.32.0";
|
2022-08-05 06:27:15 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "authzed";
|
|
|
|
repo = "spicedb";
|
|
|
|
rev = "v${version}";
|
2024-05-07 06:33:59 +02:00
|
|
|
hash = "sha256-PIl5FmXWyp6mkSzTQe7hu4aWeQgGa1YrC5+t1eMQhPY=";
|
2022-08-05 06:27:15 +02:00
|
|
|
};
|
|
|
|
|
2024-05-07 06:33:59 +02:00
|
|
|
vendorHash = "sha256-LrNoIknYY9XIwdyUq7f5pG0IU0WZVSgTNMTFoZAIhp8=";
|
2022-08-05 06:27:15 +02:00
|
|
|
|
|
|
|
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 ];
|
2023-11-23 22:09:35 +01:00
|
|
|
mainProgram = "spicedb";
|
2022-08-05 06:27:15 +02:00
|
|
|
};
|
|
|
|
}
|