58849dfc4f
GitOrigin-RevId: 21c937f8cb1e6adcfeb36dfd6c90d9d9bfab1d28
29 lines
664 B
Nix
29 lines
664 B
Nix
{ lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
pname = "cayley";
|
|
version = "0.7.5";
|
|
|
|
goPackagePath = "github.com/cayleygraph/cayley";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "cayleygraph";
|
|
repo = "cayley";
|
|
rev = "v${version}";
|
|
sha256 = "1zfxa9z6spi6xw028mvbc7c3g517gn82g77ywr6picl47fr2blnd";
|
|
};
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
ldflags = [
|
|
"-X=main.Version=${version}"
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://cayley.io/";
|
|
description = "A graph database inspired by Freebase and Knowledge Graph";
|
|
maintainers = with lib.maintainers; [ sigma ];
|
|
license = lib.licenses.asl20;
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
}
|