nixpkgs/pkgs/servers/cayley/default.nix

31 lines
688 B
Nix
Raw Permalink Normal View History

{ lib, buildGoPackage, fetchFromGitHub }:
2017-04-13 15:10:39 +00:00
buildGoPackage rec {
pname = "cayley";
2019-09-01 01:33:57 +00:00
version = "0.7.5";
2017-04-13 15:10:39 +00:00
goPackagePath = "github.com/cayleygraph/cayley";
src = fetchFromGitHub {
owner = "cayleygraph";
repo = "cayley";
rev = "v${version}";
2019-09-01 01:33:57 +00:00
sha256 = "1zfxa9z6spi6xw028mvbc7c3g517gn82g77ywr6picl47fr2blnd";
2017-04-13 15:10:39 +00:00
};
goDeps = ./deps.nix;
buildFlagsArray = ''
-ldflags=
-X=main.Version=${version}
'';
2017-04-13 15:10:39 +00:00
meta = {
homepage = "https://cayley.io/";
2017-04-13 15:10:39 +00:00
description = "A graph database inspired by Freebase and Knowledge Graph";
2021-01-15 07:07:56 +00:00
maintainers = with lib.maintainers; [ sigma ];
license = lib.licenses.asl20;
platforms = lib.platforms.unix;
2017-04-13 15:10:39 +00:00
};
}