2022-08-05 04:27:15 +00:00
|
|
|
|
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "spicedb";
|
2023-12-23 12:14:09 +00:00
|
|
|
version = "1.28.0";
|
2022-08-05 04:27:15 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "authzed";
|
|
|
|
repo = "spicedb";
|
|
|
|
rev = "v${version}";
|
2023-12-23 12:14:09 +00:00
|
|
|
hash = "sha256-Zbg5rcgOSgTeVDuZpvzXuo0DWx5PH+9xPxHZZJjqpKs=";
|
2022-08-05 04:27:15 +00:00
|
|
|
};
|
|
|
|
|
2023-12-23 12:14:09 +00:00
|
|
|
vendorHash = "sha256-jzH9f/hN2S9MUtomIjPQ/VErDWyVjNN9G4W7hHiFRJs=";
|
2022-08-05 04:27:15 +00: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 21:09:35 +00:00
|
|
|
mainProgram = "spicedb";
|
2022-08-05 04:27:15 +00:00
|
|
|
};
|
|
|
|
}
|