5083ee08a2
GitOrigin-RevId: 10ecda252ce1b3b1d6403caeadbcc8f30d5ab796
27 lines
677 B
Nix
27 lines
677 B
Nix
{ lib, stdenv, fetchFromGitHub
|
|
, autoreconfHook, pkg-config, protobuf, zlib
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "protobuf-c";
|
|
version = "1.4.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "protobuf-c";
|
|
repo = "protobuf-c";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-TJCLzxozuZ8ynrBQ2lKyk03N+QA/lbOwywUjDUdTlbM=";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
|
|
buildInputs = [ protobuf zlib ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/protobuf-c/protobuf-c/";
|
|
description = "C bindings for Google's Protocol Buffers";
|
|
license = licenses.bsd2;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|