3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/holochain-go/default.nix
Gavin Rogers 93a7c5d77b Cleanup: remove v from version and use fetchFromGithub
More housecleaning, also as per @Mic92. He's right, as it says in the manual, to
use fetchFromGithub instead of fetchgit

> Best: Fetches a snapshot archive and you get the rev you want.
2018-07-03 20:41:25 +01:00

31 lines
917 B
Nix

{ stdenv, buildGoPackage, fetchgit }:
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 ];
platforms = stdenv.lib.platforms.all;
};
}