2021-01-25 00:26:54 -08:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
2017-04-13 08:10:39 -07:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "cayley";
|
2019-08-31 18:33:57 -07:00
|
|
|
version = "0.7.5";
|
2017-04-13 08:10:39 -07:00
|
|
|
|
|
|
|
goPackagePath = "github.com/cayleygraph/cayley";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cayleygraph";
|
|
|
|
repo = "cayley";
|
|
|
|
rev = "v${version}";
|
2019-08-31 18:33:57 -07:00
|
|
|
sha256 = "1zfxa9z6spi6xw028mvbc7c3g517gn82g77ywr6picl47fr2blnd";
|
2017-04-13 08:10:39 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
|
|
|
buildFlagsArray = ''
|
|
|
|
-ldflags=
|
|
|
|
-X=main.Version=${version}
|
|
|
|
'';
|
2020-07-30 21:07:43 -07:00
|
|
|
|
2017-04-13 08:10:39 -07:00
|
|
|
meta = {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://cayley.io/";
|
2017-04-13 08:10:39 -07:00
|
|
|
description = "A graph database inspired by Freebase and Knowledge Graph";
|
2021-01-14 23:07:56 -08:00
|
|
|
maintainers = with lib.maintainers; [ sigma ];
|
|
|
|
license = lib.licenses.asl20;
|
|
|
|
platforms = lib.platforms.unix;
|
2017-04-13 08:10:39 -07:00
|
|
|
};
|
|
|
|
}
|