Skip to content

Commit

Permalink
cockroachdb: init at beta-20160915
Browse files Browse the repository at this point in the history
(cherry picked from commit dc8da48)
  • Loading branch information
rushmorem committed Sep 20, 2016
1 parent d316ec2 commit 18e1253
Show file tree
Hide file tree
Showing 3 changed files with 502 additions and 0 deletions.
27 changes: 27 additions & 0 deletions pkgs/servers/sql/cockroachdb/default.nix
@@ -0,0 +1,27 @@
{ 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 ];
};
}

2 comments on commit 18e1253

@domenkozar
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fails to build on 32bit: http://hydra.nixos.org/build/40860159

@rushmorem
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes cockroachdb doesn't support 32bit platforms at the moment. It was an oversight on my part. I have now fixed this. Thanks!

Please sign in to comment.