spdlog: 1.12.0 -> 1.13.0

https://github.com/gabime/spdlog/releases/tag/v1.13.0
This commit is contained in:
Nicolas Benes 2024-01-21 01:10:51 +01:00
parent b1560d63ea
commit 5896333012

View file

@ -1,35 +1,27 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, cmake
, fmt
, catch2_3
, staticBuild ? stdenv.hostPlatform.isStatic
# tests
, bear, tiledb
, bear
, tiledb
}:
stdenv.mkDerivation rec {
pname = "spdlog";
version = "1.12.0";
version = "1.13.0";
src = fetchFromGitHub {
owner = "gabime";
repo = "spdlog";
rev = "v${version}";
hash = "sha256-cxTaOuLXHRU8xMz9gluYz0a93O0ez2xOxbloyc1m1ns=";
hash = "sha256-3n8BnjZ7uMH8quoiT60yTU7poyOtoEmzNMOLa1+r7X0=";
};
patches = [
# Fix a broken test, remove with the next release.
(fetchpatch {
url = "https://github.com/gabime/spdlog/commit/2ee8bac78e6525a8ad9a9196e65d502ce390d83a.patch";
hash = "sha256-L79yOkm3VY01jmxNctfneTLmOA5DEQeNNGC8LbpJiOc=";
})
];
nativeBuildInputs = [ cmake ];
# Required to build tests, even if they aren't executed
buildInputs = [ catch2_3 ];