blob: befa36edd9e260c4731a6bd5df097a69aa8e9ff1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "cayley-${version}";
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 = {
homepage = https://cayley.io/;
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;
};
}
|