fmt: 5.3.0 -> 6.0.0 (#68168)

This commit is contained in:
Jeroen de Haas 2019-09-16 16:39:52 +02:00 committed by Orivej Desh (NixOS)
parent 37dac3d240
commit 2ff3620d0d

View file

@ -1,14 +1,14 @@
{ stdenv, fetchFromGitHub, cmake, enableShared ? true }:
stdenv.mkDerivation rec {
version = "5.3.0";
version = "6.0.0";
pname = "fmt";
src = fetchFromGitHub {
owner = "fmtlib";
repo = "fmt";
rev = version;
sha256 = "1hl9s69a5ql5nckc0ifh2fzlgsgv1wsn6yhqkpnrhasqkhj0hgv4";
sha256 = "0yfrw6by4h27k3psv9x1q7z2kdbz7pkwxidr494bpa6ppglij6ba";
};
outputs = [ "out" "dev" ];
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
doCheck = true;
# preCheckHook ensures the test binaries can find libfmt.so.5
# preCheckHook ensures the test binaries can find libfmt.so
preCheck = if enableShared
then "export LD_LIBRARY_PATH=\"$PWD\""
else "";