3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/altcoins/go-ethereum.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00

24 lines
624 B
Nix

{ stdenv, lib, clang, buildGoPackage, fetchgit }:
buildGoPackage rec {
name = "go-ethereum-${version}";
version = "1.6.6";
rev = "refs/tags/v${version}";
goPackagePath = "github.com/ethereum/go-ethereum";
buildInputs = [ clang ];
preBuild = "export CC=clang";
src = fetchgit {
inherit rev;
url = "https://${goPackagePath}";
sha256 = "066s7fp9pbyq670xwnib4p7zaxs941r9kpvj2hm6bkr28yrpvp1a";
};
meta = {
homepage = https://ethereum.github.io/go-ethereum/;
description = "Official golang implementation of the Ethereum protocol";
license = with lib.licenses; [ lgpl3 gpl3 ];
};
}