Merge pull request #282449 from panicgh/spdlog

spdlog: 1.12.0 -> 1.13.0
This commit is contained in:
Weijia Wang 2024-03-08 20:42:12 +01:00 committed by GitHub
commit d2208d3736
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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 ];