go-protobuf: 2018-01-04 -> 1.3.1 (#63744)

This commit is contained in:
Serge Bazanski 2019-06-25 22:00:03 +02:00 committed by Wael Nasreddine
parent 0732c3993b
commit 4345932762

View File

@ -1,19 +1,18 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoPackage rec {
buildGoModule rec {
name = "go-protobuf-${version}";
version = "2018-01-04";
rev = "1e59b77b52bf8e4b449a57e6f79f21226d571845";
goPackagePath = "github.com/golang/protobuf";
version = "1.3.1";
src = fetchFromGitHub {
inherit rev;
owner = "golang";
repo = "protobuf";
sha256 = "19bkh81wnp6njg3931wky6hsnnl2d1ig20vfjxpv450sd3k6yys8";
rev = "v${version}";
sha256 = "15am4s4646qy6iv0g3kkqq52rzykqjhm4bf08dk0fy2r58knpsyl";
};
modSha256 = "0sjjj9z1dhilhpc8pq4154czrb79z9cm044jvn75kxcjv6v5l2m5";
meta = with stdenv.lib; {
homepage = "https://github.com/golang/protobuf";
description = " Go bindings for protocol buffer";