2017-04-13 16:10:39 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "cayley";
|
2019-09-01 02:33:57 +01:00
|
|
|
version = "0.7.5";
|
2017-04-13 16:10:39 +01:00
|
|
|
|
|
|
|
goPackagePath = "github.com/cayleygraph/cayley";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cayleygraph";
|
|
|
|
repo = "cayley";
|
|
|
|
rev = "v${version}";
|
2019-09-01 02:33:57 +01:00
|
|
|
sha256 = "1zfxa9z6spi6xw028mvbc7c3g517gn82g77ywr6picl47fr2blnd";
|
2017-04-13 16:10:39 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
|
|
|
buildFlagsArray = ''
|
|
|
|
-ldflags=
|
|
|
|
-X=main.Version=${version}
|
|
|
|
'';
|
2020-07-31 05:07:43 +01:00
|
|
|
|
2017-04-13 16:10:39 +01:00
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://cayley.io/";
|
2017-04-13 16:10:39 +01: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;
|
|
|
|
};
|
|
|
|
}
|