chore: remove already upstreamed protobufc

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
This commit is contained in:
Harald Hoyer 2024-12-09 16:18:41 +01:00
parent 9ce71b0d10
commit 07130f5c39
Signed by: harald
GPG key ID: F519A1143B3FBE32
2 changed files with 4 additions and 41 deletions

View file

@ -15,6 +15,7 @@
, gawk , gawk
, bison , bison
, patchelf , patchelf
, protobufc
, which , which
}: }:
let let
@ -96,7 +97,7 @@ python.pkgs.buildPythonPackage {
cmake cmake
pkg-config pkg-config
nixsgx.sgx-sdk nixsgx.sgx-sdk
nixsgx.protobufc protobufc
nixsgx.sgx-dcap.dev nixsgx.sgx-dcap.dev
nixsgx.sgx-dcap.quote_verify nixsgx.sgx-dcap.quote_verify
autoconf autoconf
@ -108,8 +109,8 @@ python.pkgs.buildPythonPackage {
]; ];
buildInputs = [ buildInputs = [
nixsgx.protobufc.dev protobufc.dev
nixsgx.protobufc.lib protobufc.lib
bash bash
]; ];

View file

@ -1,38 +0,0 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, autoreconfHook
, pkg-config
, protobuf
, zlib
, buildPackages
}:
stdenv.mkDerivation rec {
pname = "protobuf-c";
version = "1.5.0";
src = fetchFromGitHub {
owner = "protobuf-c";
repo = "protobuf-c";
rev = "refs/tags/v${version}";
hash = "sha256-Dkpcc7ZfvAIVY91trRiHuiRFcUGUbQxbheYKTBcq80I=";
};
outputs = [ "out" "dev" "lib" ];
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ protobuf zlib ];
PROTOC = lib.getExe buildPackages.protobuf;
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; [ nickcao ];
};
}