nixpkgs/pkgs/servers/spicedb/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
739 B
Nix
Raw Normal View History

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "spicedb";
2024-03-06 19:32:06 +03:00
version = "1.29.5";
src = fetchFromGitHub {
owner = "authzed";
repo = "spicedb";
rev = "v${version}";
2024-03-06 19:32:06 +03:00
hash = "sha256-93+o2pLilHAad794Bae83spLsC+pdvOgS6WRNSWrei4=";
};
2024-03-06 19:32:06 +03:00
vendorHash = "sha256-MfpXYvgUjfNZkAA19FWM0X8A9mbDhcYCM5L9PLL4En0=";
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-24 00:09:35 +03:00
mainProgram = "spicedb";
};
}