nixpkgs/pkgs/development/libraries/protobufc/default.nix

24 lines
660 B
Nix
Raw Normal View History

2014-09-18 09:49:08 +02:00
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, protobuf, zlib }:
2012-09-25 19:35:03 +02:00
stdenv.mkDerivation rec {
2014-09-18 09:49:08 +02:00
name = "protobuf-c-${version}";
version = "1.0.2";
2012-09-25 19:35:03 +02:00
2014-09-18 09:49:08 +02:00
src = fetchFromGitHub {
owner = "protobuf-c";
repo = "protobuf-c";
rev = "v${version}";
sha256 = "1harabw7qdgcmh098664xkcv8bkyach6i35sisc40yhvagr3fzsz";
2012-09-25 19:35:03 +02:00
};
2014-09-18 09:49:08 +02:00
buildInputs = [ autoreconfHook pkgconfig protobuf zlib ];
2012-09-25 19:35:03 +02:00
2014-09-18 09:49:08 +02:00
meta = with stdenv.lib; {
homepage = http://github.com/protobuf-c/protobuf-c/;
2012-09-25 19:35:03 +02:00
description = "C bindings for Google's Protocol Buffers";
2014-09-18 09:49:08 +02:00
license = licenses.bsd2;
platforms = platforms.all;
maintainers = with maintainers; [ wkennington ];
2012-09-25 19:35:03 +02:00
};
}