fastcdr: 2.1.3 -> 2.2.0

https://github.com/eProsima/Fast-CDR/releases/tag/v2.2.0
This commit is contained in:
Nicolas Benes 2024-02-23 11:11:09 +01:00
parent 2571e9c054
commit bf9230c4bc
3 changed files with 2 additions and 12 deletions

View file

@ -10,27 +10,19 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "fastcdr"; pname = "fastcdr";
version = "2.1.3"; version = "2.2.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "eProsima"; owner = "eProsima";
repo = "Fast-CDR"; repo = "Fast-CDR";
rev = "v${finalAttrs.version}"; rev = "v${finalAttrs.version}";
hash = "sha256-eSf6LNTVsGEBXjTmTBjjWKBqs68pbnVcw1p2bi1Asgg="; hash = "sha256-hhYNgBLJCTZV/fgHEH7rxlTy+qpShAykxHLbPtPA/Uw=";
}; };
patches = [ patches = [
./0001-Do-not-require-wget-and-unzip.patch ./0001-Do-not-require-wget-and-unzip.patch
]; ];
# Fix doc generation error with doxygen >= 1.10.0
# see https://github.com/eProsima/Fast-CDR/issues/193
postPatch = ''
substituteInPlace ./doxyfile.in --replace \
"WARN_AS_ERROR = YES" \
"WARN_AS_ERROR = NO"
'';
cmakeFlags = lib.optional (stdenv.hostPlatform.isStatic) "-DBUILD_SHARED_LIBS=OFF" cmakeFlags = lib.optional (stdenv.hostPlatform.isStatic) "-DBUILD_SHARED_LIBS=OFF"
# upstream turns BUILD_TESTING=OFF by default and doesn't honor cmake's default (=ON) # upstream turns BUILD_TESTING=OFF by default and doesn't honor cmake's default (=ON)
++ lib.optional (finalAttrs.finalPackage.doCheck) "-DBUILD_TESTING=ON" ++ lib.optional (finalAttrs.finalPackage.doCheck) "-DBUILD_TESTING=ON"

View file

@ -21055,8 +21055,6 @@ with pkgs;
autoreconfHook = buildPackages.autoreconfHook269; autoreconfHook = buildPackages.autoreconfHook269;
}; };
fastcdr = callPackage ../development/libraries/fastcdr { };
fbthrift = callPackage ../development/libraries/fbthrift { }; fbthrift = callPackage ../development/libraries/fbthrift { };
fb303 = callPackage ../development/libraries/fb303 { }; fb303 = callPackage ../development/libraries/fb303 { };