1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 03:25:02 +00:00

spdlog: 1.8.5 -> 1.9.2

This commit is contained in:
Artturin 2021-11-07 21:56:36 +02:00
parent ea5c3d756e
commit f06cec9564

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, cmake, fmt }:
{ lib, stdenv, fetchFromGitHub, cmake, fmt_8 }:
let
generic = { version, sha256 }:
@ -15,7 +15,7 @@ let
nativeBuildInputs = [ cmake ];
# spdlog <1.3 uses a bundled version of fmt
propagatedBuildInputs = lib.optional (lib.versionAtLeast version "1.3") fmt;
propagatedBuildInputs = lib.optional (lib.versionAtLeast version "1.3") fmt_8;
cmakeFlags = [
"-DSPDLOG_BUILD_SHARED=${if stdenv.hostPlatform.isStatic then "OFF" else "ON"}"
@ -49,8 +49,8 @@ let
in
{
spdlog_1 = generic {
version = "1.8.5";
sha256 = "sha256-D29jvDZQhPscaOHlrzGN1s7/mXlcsovjbqYpXd7OM50=";
version = "1.9.2";
sha256 = "sha256-GSUdHtvV/97RyDKy8i+ticnSlQCubGGWHg4Oo+YAr8Y=";
};
spdlog_0 = generic {