mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
Merge pull request #229229 from r-ryantm/auto-update/avro-cpp
avro-cpp: 1.11.0 -> 1.11.3
This commit is contained in:
commit
8a6613d3ad
@ -1,13 +1,30 @@
|
||||
{ lib, stdenv, fetchurl, cmake, boost, python3 }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, fetchpatch
|
||||
, cmake
|
||||
, boost
|
||||
, python3
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "avro-c++";
|
||||
version = "1.11.0";
|
||||
version = "1.11.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://apache/avro/avro-${version}/cpp/avro-cpp-${version}.tar.gz";
|
||||
sha256 = "sha256-73DKihz+7XAX3LLA7VkTdN6rFhuGvmyksxK8JMranFY=";
|
||||
hash = "sha256-+6JCrvd+yBnQdWH8upN1FyGVbejQyujh8vMAtUszG64=";
|
||||
};
|
||||
patches = [
|
||||
# This patch fixes boost compatibility and can be removed when
|
||||
# upgrading beyond 1.11.3 https://github.com/apache/avro/pull/1920
|
||||
(fetchpatch {
|
||||
name = "fix-boost-compatibility.patch";
|
||||
url = "https://github.com/apache/avro/commit/016323828f147f185d03f50d2223a2f50bfafce1.patch";
|
||||
hash = "sha256-hP/5J2JzSplMvg8EjEk98Vim8DfTyZ4hZ/WGiVwvM1A=";
|
||||
})
|
||||
];
|
||||
patchFlags = [ "-p3" ];
|
||||
|
||||
nativeBuildInputs = [ cmake python3 ];
|
||||
buildInputs = [ boost ];
|
||||
|
Loading…
Reference in New Issue
Block a user