Nick Cao 2024-04-02 10:05:22 -04:00
parent f6827a0d19
commit c8b1d4fa6d
No known key found for this signature in database

View file

@ -8,13 +8,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "msgpack-c";
version = "6.0.0";
version = "6.0.1";
src = fetchFromGitHub {
owner = "msgpack";
repo = "msgpack-c";
rev = "refs/tags/c-${finalAttrs.version}";
hash = "sha256-TfC37QKwqvHxsLPgsEqJYkb7mpRQekbntbBPV4v4FO8=";
hash = "sha256-BXnK7xNRdZvbSz7tERf/PDJkmxbqAC6trH+h36O/v6k=";
};
strictDeps = true;
@ -24,8 +24,9 @@ stdenv.mkDerivation (finalAttrs: {
];
cmakeFlags = [
"-DMSGPACK_BUILD_EXAMPLES=OFF" # examples are not installed even if built
] ++ lib.optional (!finalAttrs.finalPackage.doCheck) "-DMSGPACK_BUILD_TESTS=OFF";
(lib.cmakeBool "MSGPACK_BUILD_EXAMPLES" false) # examples are not installed even if built
(lib.cmakeBool "MSGPACK_BUILD_TESTS" finalAttrs.finalPackage.doCheck)
];
checkInputs = [
gtest