mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 06:06:13 +03:00
34 lines
739 B
Nix
34 lines
739 B
Nix
|
|
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "spicedb";
|
|
version = "1.30.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "authzed";
|
|
repo = "spicedb";
|
|
rev = "v${version}";
|
|
hash = "sha256-enMUGLOoVy56PCAqfW6jTOgEr/Me6kbuUvq3YmlxMPs=";
|
|
};
|
|
|
|
vendorHash = "sha256-lMhfCkuLuA8aj3Q+I/v/Ohof/htBJjPRmQ3c9QXsioc=";
|
|
|
|
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 ];
|
|
mainProgram = "spicedb";
|
|
};
|
|
}
|