tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
protobuf: 2.5.0 -> 2.6.0
William A. Kennington III
11 years ago
5dff5ede
e0479f34
+14
-14
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
protobuf
default.nix
+14
-14
pkgs/development/libraries/protobuf/default.nix
···
1
1
-
{ fetchurl, stdenv, zlib }:
1
1
+
{ stdenv, fetchFromGitHub, autoreconfHook, zlib }:
2
2
3
3
stdenv.mkDerivation rec {
4
4
-
name = "protobuf-2.5.0";
4
4
+
name = "protobuf-${version}";
5
5
+
version = "2.6.0";
5
6
6
6
-
src = fetchurl {
7
7
-
url = "http://protobuf.googlecode.com/files/${name}.tar.bz2";
8
8
-
sha256 = "0xxn9gxhvsgzz2sgmihzf6pf75clr05mqj6218camwrwajpcbgqk";
7
7
+
src = fetchFromGitHub {
8
8
+
owner = "google";
9
9
+
repo = "protobuf";
10
10
+
rev = "v${version}";
11
11
+
sha256 = "020a59x9kbrbhh207j62gw55pj7p5rvz01i6ml6xhpcghp7l50b4";
9
12
};
10
13
11
11
-
buildInputs = [ zlib ];
14
14
+
buildInputs = [ autoreconfHook zlib ];
12
15
13
13
-
doCheck = true;
14
14
-
15
15
-
meta = {
16
16
+
meta = with stdenv.lib; {
17
17
+
homepage = http://code.google.com/p/protobuf/;
16
18
description = "Protocol Buffers - Google's data interchange format";
17
17
-
18
19
longDescription =
19
20
'' Protocol Buffers are a way of encoding structured data in an
20
21
efficient yet extensible format. Google uses Protocol Buffers for
21
22
almost all of its internal RPC protocols and file formats.
22
23
'';
23
23
-
24
24
-
license = "mBSD";
25
25
-
26
26
-
homepage = http://code.google.com/p/protobuf/;
24
24
+
license = licenses.bsd3;
25
25
+
platforms = platforms.all;
26
26
+
maintainers = with maintainers; [ wkennington ];
27
27
};
28
28
}