Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(cherry picked from commit dc8da48)
- Loading branch information
Showing
3 changed files
with
502 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 ]; | ||
}; | ||
} |
Oops, something went wrong.
18e1253
There was a problem hiding this comment.
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
18e1253
There was a problem hiding this comment.
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!