protobuf: 2.5.0 -> 2.6.0

+14 -14
+14 -14
pkgs/development/libraries/protobuf/default.nix
··· 1 - { fetchurl, stdenv, zlib }: 1 + { stdenv, fetchFromGitHub, autoreconfHook, zlib }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "protobuf-2.5.0"; 4 + name = "protobuf-${version}"; 5 + version = "2.6.0"; 5 6 6 - src = fetchurl { 7 - url = "http://protobuf.googlecode.com/files/${name}.tar.bz2"; 8 - sha256 = "0xxn9gxhvsgzz2sgmihzf6pf75clr05mqj6218camwrwajpcbgqk"; 7 + src = fetchFromGitHub { 8 + owner = "google"; 9 + repo = "protobuf"; 10 + rev = "v${version}"; 11 + sha256 = "020a59x9kbrbhh207j62gw55pj7p5rvz01i6ml6xhpcghp7l50b4"; 9 12 }; 10 13 11 - buildInputs = [ zlib ]; 14 + buildInputs = [ autoreconfHook zlib ]; 12 15 13 - doCheck = true; 14 - 15 - meta = { 16 + meta = with stdenv.lib; { 17 + homepage = http://code.google.com/p/protobuf/; 16 18 description = "Protocol Buffers - Google's data interchange format"; 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 - 24 - license = "mBSD"; 25 - 26 - homepage = http://code.google.com/p/protobuf/; 24 + license = licenses.bsd3; 25 + platforms = platforms.all; 26 + maintainers = with maintainers; [ wkennington ]; 27 27 }; 28 28 }