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