nixpkgs/pkgs/servers/spicedb/default.nix
2023-04-25 01:28:27 +00:00

33 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 ];
};
}