forked from mirrors/nixpkgs
Merge pull request #209107 from KAction/patch/v1/pkgsStatic.protobufc
pkgsStatic.protobufc: fix build
This commit is contained in:
commit
1e69f89b5c
|
@ -1,6 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
, autoreconfHook
|
, autoreconfHook
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, protobuf
|
, protobuf
|
||||||
|
@ -19,6 +20,14 @@ stdenv.mkDerivation rec {
|
||||||
hash = "sha256-TJCLzxozuZ8ynrBQ2lKyk03N+QA/lbOwywUjDUdTlbM=";
|
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 ];
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||||
|
|
||||||
buildInputs = [ protobuf zlib ];
|
buildInputs = [ protobuf zlib ];
|
||||||
|
|
Loading…
Reference in a new issue