about summary refs log tree commit diff
path: root/pkgs/development/tools
diff options
context:
space:
mode:
authorAntoine Eiche <lewo@abesis.fr>2018-01-04 18:21:18 +0100
committerAntoine Eiche <lewo@abesis.fr>2018-01-04 18:22:08 +0100
commit3b646f79e02451e1abf8163de3e2991d7368bd72 (patch)
tree4bedd405f4ebe9021eef5a5c3a514a764f955b90 /pkgs/development/tools
parent0a07a5250682a8c24d7c926589f33818475ba3b9 (diff)
downloadnixlib-3b646f79e02451e1abf8163de3e2991d7368bd72.tar
nixlib-3b646f79e02451e1abf8163de3e2991d7368bd72.tar.gz
nixlib-3b646f79e02451e1abf8163de3e2991d7368bd72.tar.bz2
nixlib-3b646f79e02451e1abf8163de3e2991d7368bd72.tar.lz
nixlib-3b646f79e02451e1abf8163de3e2991d7368bd72.tar.xz
nixlib-3b646f79e02451e1abf8163de3e2991d7368bd72.tar.zst
nixlib-3b646f79e02451e1abf8163de3e2991d7368bd72.zip
go-protobuf: init at 2018-01-04
With the commit 1e59b77b52bf8e4b449a57e6f79f21226d571845
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r--pkgs/development/tools/go-protobuf/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/tools/go-protobuf/default.nix b/pkgs/development/tools/go-protobuf/default.nix
new file mode 100644
index 000000000000..361fc74c729b
--- /dev/null
+++ b/pkgs/development/tools/go-protobuf/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, buildGoPackage, fetchFromGitHub }:
+
+buildGoPackage rec {
+  name = "go-protobuf-${version}";
+  version = "2018-01-04";
+  rev = "1e59b77b52bf8e4b449a57e6f79f21226d571845";
+
+  goPackagePath = "github.com/golang/protobuf";
+
+  src = fetchFromGitHub {
+    inherit rev;
+    owner = "golang";
+    repo = "protobuf";
+    sha256 = "19bkh81wnp6njg3931wky6hsnnl2d1ig20vfjxpv450sd3k6yys8";
+  };
+
+  meta = with stdenv.lib; {
+    homepage    = "https://github.com/golang/protobuf";
+    description = " Go bindings for protocol buffer";
+    maintainers = with maintainers; [ lewo ];
+    license     = licenses.bsd3;
+    platforms   = platforms.linux;
+  };
+}