protobuf-c: 0.15 -> 1.0.2

+14 -13
+14 -13
pkgs/development/libraries/protobufc/default.nix
··· 1 - { fetchurl, stdenv, zlib, protobuf }: 2 3 stdenv.mkDerivation rec { 4 - name = "protobuf-c-0.15"; 5 6 - src = fetchurl { 7 - url = "http://protobuf-c.googlecode.com/files/${name}.tar.gz"; 8 - sha256 = "0dh0180lzqk6n1r0qk38kgdy4x15mpkg5j4g2r31qhx52f757jwg"; 9 }; 10 11 - buildInputs = [ protobuf ]; 12 13 - doCheck = true; 14 - 15 - meta = { 16 description = "C bindings for Google's Protocol Buffers"; 17 - 18 - license = "BSD"; 19 - 20 - homepage = http://code.google.com/p/protobuf-c/; 21 }; 22 }
··· 1 + { stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, protobuf, zlib }: 2 3 stdenv.mkDerivation rec { 4 + name = "protobuf-c-${version}"; 5 + version = "1.0.2"; 6 7 + src = fetchFromGitHub { 8 + owner = "protobuf-c"; 9 + repo = "protobuf-c"; 10 + rev = "v${version}"; 11 + sha256 = "1harabw7qdgcmh098664xkcv8bkyach6i35sisc40yhvagr3fzsz"; 12 }; 13 14 + buildInputs = [ autoreconfHook pkgconfig protobuf zlib ]; 15 16 + meta = with stdenv.lib; { 17 + homepage = http://github.com/protobuf-c/protobuf-c/; 18 description = "C bindings for Google's Protocol Buffers"; 19 + license = licenses.bsd2; 20 + platforms = platforms.all; 21 + maintainers = with maintainers; [ wkennington ]; 22 }; 23 }