commit 2423b4d2bf4f50c7f5f5e7add5d14b933a75d3e3
parent 0ce83641d1b5c1672483ebe4ce399b2d6e88bdcf
Author: Vincent Demeester <vincent@sbr.pm>
Date: Thu, 7 May 2020 17:05:01 +0200
pkgs/gogo-protobuf: unstable-* -> 1.3.1
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 25 insertions(+), 19 deletions(-)
diff --git a/pkgs/gogo-protobuf/default.nix b/pkgs/gogo-protobuf/default.nix
@@ -1,27 +1,33 @@
-# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
-{ stdenv, lib, buildGoPackage, fetchgit }:
+{ stdenv, lib, buildGoModule, fetchFromGitHub }:
-buildGoPackage rec {
- name = "gogo-protobuf-unstable-${version}";
- version = "2018-09-14";
- rev = "e14cafb6a2c249986e51c4b65c3206bf18578715";
+buildGoModule rec {
+ name = "gogo-protobuf-${version}";
+ version = "1.3.1";
+ rev = "v${version}";
goPackagePath = "github.com/gogo/protobuf";
-
- src = fetchgit {
- inherit rev;
- url = "https://github.com/gogo/protobuf";
- sha256 = "1q00r1s462xsmw8qc6incvp6m3f39jibjj8syw23jvwiy3vp75a8";
- };
-
- goDeps = ./deps.nix;
subPackages = [
- "protoc-gen-combo" "protoc-gen-gofast" "protoc-gen-gogo"
- "protoc-gen-gogofast" "protoc-gen-gogofaster" "protoc-gen-gogoslick"
- "protoc-gen-gogotypes" "protoc-gen-gostring" "protoc-min-version"
+ "proto"
+ "gogoproto"
+ "gogoreplace"
+ "jsonpb"
+ "protoc-gen-combo"
+ "protoc-gen-gofast"
+ "protoc-gen-gogo"
+ "protoc-gen-gogofast"
+ "protoc-gen-gogofaster"
+ "protoc-gen-gogoslick"
+ "protoc-gen-gogotypes"
+ "protoc-gen-gostring"
+ "protoc-min-version"
];
- # TODO: add metadata https://nixos.org/nixpkgs/manual/#sec-standard-meta-attributes
- meta = {
+ src = fetchFromGitHub {
+ inherit rev;
+ owner = "gogo";
+ repo = "protobuf";
+ sha256 = "0x77x64sxjgfhmbijqfzmj8h4ar25l2w97h01q3cqs1wk7zfnkhp";
};
+ modSha256 = "0vkpqdd4x97cl3dm79mh1vic1ir4i20wv9q52sn13vr0b3kja0qy";
+
}