Skip to content

Instantly share code, notes, and snippets.

@danieldk
Created June 21, 2020 07:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danieldk/88c0b97819b3c009aaee32be004a69a4 to your computer and use it in GitHub Desktop.
Save danieldk/88c0b97819b3c009aaee32be004a69a4 to your computer and use it in GitHub Desktop.
diff --git a/pkgs/development/libraries/utf8cpp/default.nix b/pkgs/development/libraries/utf8cpp/default.nix
index f42baa2576a..a2aac1241cd 100644
--- a/pkgs/development/libraries/utf8cpp/default.nix
+++ b/pkgs/development/libraries/utf8cpp/default.nix
@@ -8,17 +8,20 @@ stdenv.mkDerivation rec {
owner = "nemtrif";
repo = "utfcpp";
rev = "v${version}";
- sha256 = "1d5p9l27mxhsmm4zlxjsbxngsmr5yxrzi66x550bf5g92sj52ffc";
+ fetchSubmodules = true;
+ sha256 = "1s2pda75488z7c3w3a6qv31bj239248696yk5j2a1drbg2x1dpfh";
};
cmakeFlags = [
"-DCMAKE_BUILD_TYPE=None"
"-DCMAKE_INSTALL_LIBDIR=lib"
- "-DUTF8_TESTS=OFF"
+ "-DINSTALL_GTEST=OFF"
];
nativeBuildInputs = [ cmake ];
+ doCheck = true;
+
meta = with stdenv.lib; {
homepage = "https://github.com/nemtrif/utfcpp";
description = "UTF-8 with C++ in a Portable Way";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment