mirror of
https://github.com/matter-labs/nixsgx.git
synced 2025-07-21 15:33:56 +02:00
chore: remove already upstreamed protobufc
Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
This commit is contained in:
parent
9ce71b0d10
commit
07130f5c39
2 changed files with 4 additions and 41 deletions
|
@ -15,6 +15,7 @@
|
|||
, gawk
|
||||
, bison
|
||||
, patchelf
|
||||
, protobufc
|
||||
, which
|
||||
}:
|
||||
let
|
||||
|
@ -96,7 +97,7 @@ python.pkgs.buildPythonPackage {
|
|||
cmake
|
||||
pkg-config
|
||||
nixsgx.sgx-sdk
|
||||
nixsgx.protobufc
|
||||
protobufc
|
||||
nixsgx.sgx-dcap.dev
|
||||
nixsgx.sgx-dcap.quote_verify
|
||||
autoconf
|
||||
|
@ -108,8 +109,8 @@ python.pkgs.buildPythonPackage {
|
|||
];
|
||||
|
||||
buildInputs = [
|
||||
nixsgx.protobufc.dev
|
||||
nixsgx.protobufc.lib
|
||||
protobufc.dev
|
||||
protobufc.lib
|
||||
bash
|
||||
];
|
||||
|
||||
|
|
|
@ -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 ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue