3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #89276 from jobojeha/master

utf8cpp: init at 3.1.1
This commit is contained in:
Daniël de Kok 2020-06-21 14:29:01 +02:00 committed by GitHub
commit 30adb1fb9e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 40 additions and 0 deletions

View file

@ -3698,6 +3698,12 @@
githubId = 1102396;
name = "Jussi Maki";
};
jobojeha = {
email = "jobojeha@jeppener.de";
github = "jobojeha";
githubId = 60272884;
name = "Jonathan Jeppener-Haltenhoff";
};
joelburget = {
email = "joelburget@gmail.com";
github = "joelburget";

View file

@ -0,0 +1,32 @@
{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "utf8cpp";
version = "3.1.1";
src = fetchFromGitHub {
owner = "nemtrif";
repo = "utfcpp";
rev = "v${version}";
fetchSubmodules = true;
sha256 = "1s2pda75488z7c3w3a6qv31bj239248696yk5j2a1drbg2x1dpfh";
};
cmakeFlags = [
"-DCMAKE_BUILD_TYPE=None"
"-DCMAKE_INSTALL_LIBDIR=lib"
"-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";
license = licenses.free;
maintainers = with maintainers; [ jobojeha ];
platforms = platforms.linux;
};
}

View file

@ -26405,6 +26405,8 @@ in
urbit = callPackage ../misc/urbit { };
utf8cpp = callPackage ../development/libraries/utf8cpp { };
utf8proc = callPackage ../development/libraries/utf8proc { };
unicode-paracode = callPackage ../tools/misc/unicode { };