protobuf-c: 0.15 -> 1.0.2

This commit is contained in:
William A. Kennington III 2014-09-18 00:49:08 -07:00
parent 5dff5ede0a
commit b2600df4a8

View File

@ -1,22 +1,23 @@
{ fetchurl, stdenv, zlib, protobuf }: { stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, protobuf, zlib }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "protobuf-c-0.15"; name = "protobuf-c-${version}";
version = "1.0.2";
src = fetchurl { src = fetchFromGitHub {
url = "http://protobuf-c.googlecode.com/files/${name}.tar.gz"; owner = "protobuf-c";
sha256 = "0dh0180lzqk6n1r0qk38kgdy4x15mpkg5j4g2r31qhx52f757jwg"; repo = "protobuf-c";
rev = "v${version}";
sha256 = "1harabw7qdgcmh098664xkcv8bkyach6i35sisc40yhvagr3fzsz";
}; };
buildInputs = [ protobuf ]; buildInputs = [ autoreconfHook pkgconfig protobuf zlib ];
doCheck = true; meta = with stdenv.lib; {
homepage = http://github.com/protobuf-c/protobuf-c/;
meta = {
description = "C bindings for Google's Protocol Buffers"; description = "C bindings for Google's Protocol Buffers";
license = licenses.bsd2;
license = "BSD"; platforms = platforms.all;
maintainers = with maintainers; [ wkennington ];
homepage = http://code.google.com/p/protobuf-c/;
}; };
} }