3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #140812 from jobojeha/update-utf8cpp

This commit is contained in:
Sandro 2021-10-07 22:14:30 +02:00 committed by GitHub
commit ba24275f11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,20 +2,18 @@
stdenv.mkDerivation rec {
pname = "utf8cpp";
version = "3.1.2";
version = "3.2.1";
src = fetchFromGitHub {
owner = "nemtrif";
repo = "utfcpp";
rev = "v${version}";
fetchSubmodules = true;
sha256 = "sha256-l5sneFsuvPDIRni2x+aR9fmQ9bzXNnIiP9EzZ63sNtg=";
sha256 = "0gsbwif97i025bxgyax4fbf6v9z44zrca4s6wwd8x36ac8qzjppf";
};
cmakeFlags = [
"-DCMAKE_BUILD_TYPE=None"
"-DCMAKE_INSTALL_LIBDIR=lib"
"-DINSTALL_GTEST=OFF"
];
nativeBuildInputs = [ cmake ];
@ -25,7 +23,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
homepage = "https://github.com/nemtrif/utfcpp";
description = "UTF-8 with C++ in a Portable Way";
license = licenses.free;
license = licenses.boost;
maintainers = with maintainers; [ jobojeha ];
platforms = platforms.all;
};