2017-04-13 17:10:39 +02:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "cayley";
|
2017-04-13 17:10:39 +02:00
|
|
|
version = "0.6.1";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/cayleygraph/cayley";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cayleygraph";
|
|
|
|
repo = "cayley";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1r0kw3y32bqm7g37svzrch2qj9n45p93xmsrf7dj1cg4wwkb65ry";
|
|
|
|
};
|
|
|
|
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
|
|
|
buildFlagsArray = ''
|
|
|
|
-ldflags=
|
|
|
|
-X=main.Version=${version}
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = https://cayley.io/;
|
2017-04-13 17:10:39 +02:00
|
|
|
description = "A graph database inspired by Freebase and Knowledge Graph";
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ sigma ];
|
|
|
|
license = stdenv.lib.licenses.asl20;
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
};
|
|
|
|
}
|