Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ lib, buildGoModule, fetchFromGitHub, installShellFiles,}:
buildGoModule rec { pname = "spicedb"; version = "1.45.1";
src = fetchFromGitHub { owner = "authzed"; repo = "spicedb"; rev = "v${version}"; hash = "sha256-cKCAA9C0vsCa0BszspvPfrKbdWyaccrMtiO6UWhLIh4="; };
vendorHash = "sha256-R4lOmHIBgnlvOukMjXdVx5e9Oneo1EizhsrDXiTbwTc=";
ldflags = [ "-X 'github.com/jzelinskie/cobrautil/v2.Version=${src.rev}'" ];
subPackages = [ "cmd/spicedb" ];
nativeBuildInputs = [ installShellFiles ];
postInstall = '' installShellCompletion --cmd spicedb \ --bash <($out/bin/spicedb completion bash) \ --fish <($out/bin/spicedb completion fish) \ --zsh <($out/bin/spicedb completion zsh) '';
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; [ squat thoughtpolice ]; mainProgram = "spicedb"; };}