 6c857b7f70
			
		
	
	
		6c857b7f70
		
	
	
	
	
		
			
			"if platforms is not set it will default to go.meta.platforms which is probably what you want" And that does sound like what we want. Also, the linux build was complaining about eventfd, or the lack thereof.
		
			
				
	
	
		
			30 lines
		
	
	
		
			882 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			882 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| { stdenv, buildGoPackage, fetchFromGitHub }:
 | |
| 
 | |
| buildGoPackage rec {
 | |
|   name = "holochain-go${version}";
 | |
|   version = "0.1.0-alpha";
 | |
|   rev = "a17510b910a7a377441c152b8dccdbae1999f63f";
 | |
| 
 | |
|   goPackagePath = "github.com/holochain/holochain-proto";
 | |
| 
 | |
| 
 | |
|   src = fetchFromGitHub {
 | |
|     inherit rev;
 | |
|     owner = "holochain";
 | |
|     repo = "holochain-proto";
 | |
|     sha256 = "19l29jnr63ximmyn4i4llv2mdwh306c2mpzmx2anj9z12wjpach0";
 | |
|   };
 | |
| 
 | |
|   goDeps = ./deps.nix;
 | |
| 
 | |
|   meta = {
 | |
|     description = "core implementation of validating DHT dApps in go";
 | |
|     longDescription = "Holographic storage for distributed applications -- a validating monotonic DHT backed by authoritative hashchains for data provenance";
 | |
|     homepage = "https://holochain.org/";
 | |
|     downloadPage = "https://developer.holochain.org/";
 | |
|     license = stdenv.lib.licenses.gpl3;
 | |
|     maintainers = with stdenv.lib.maintainers; [ gavin ];
 | |
| 
 | |
|   };
 | |
| }
 |