protobuf: 2.5.0 -> 2.6.0

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