3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #209107 from KAction/patch/v1/pkgsStatic.protobufc

pkgsStatic.protobufc: fix build
This commit is contained in:
Nick Cao 2023-01-13 06:56:31 +08:00 committed by GitHub
commit 1e69f89b5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, autoreconfHook
, pkg-config
, protobuf
@ -19,6 +20,14 @@ stdenv.mkDerivation rec {
hash = "sha256-TJCLzxozuZ8ynrBQ2lKyk03N+QA/lbOwywUjDUdTlbM=";
};
patches = [
# https://github.com/protobuf-c/protobuf-c/pull/534
(fetchpatch {
url = "https://github.com/protobuf-c/protobuf-c/commit/a6c9ea5207aeac61c57b446ddf5a6b68308881d8.patch";
hash = "sha256-wTb8+YbvrCrOVpgthI5SJdG/CpQcOzCX4Bv47FPY804=";
})
];
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ protobuf zlib ];