forked from mirrors/nixpkgs
28 lines
670 B
Nix
28 lines
670 B
Nix
|
{ stdenv, buildGoPackage, fetchFromGitHub, gcc }:
|
||
|
|
||
|
buildGoPackage rec {
|
||
|
name = "cockroach-${version}";
|
||
|
version = "beta-20160915";
|
||
|
|
||
|
goPackagePath = "github.com/cockroachdb/cockroach";
|
||
|
subPackages = [ "." ];
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "cockroachdb";
|
||
|
repo = "cockroach";
|
||
|
rev = version;
|
||
|
sha256 = "11camp588vsccxlc138l7x4qws2fj5wpx1177irzayqdng8dilx3";
|
||
|
};
|
||
|
|
||
|
buildInputs = [ gcc ];
|
||
|
|
||
|
goDeps = ./deps.nix;
|
||
|
|
||
|
meta = with stdenv.lib; {
|
||
|
homepage = https://www.cockroachlabs.com;
|
||
|
description = "A scalable, survivable, strongly-consistent SQL database";
|
||
|
license = licenses.asl20;
|
||
|
maintainers = [ maintainers.rushmorem ];
|
||
|
};
|
||
|
}
|