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