mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
utf8cpp: init at 3.1.1
This commit is contained in:
parent
51273a0f73
commit
f6e102fc63
32
pkgs/development/libraries/utf8cpp/default.nix
Normal file
32
pkgs/development/libraries/utf8cpp/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -26254,6 +26254,8 @@ in
|
||||
|
||||
urbit = callPackage ../misc/urbit { };
|
||||
|
||||
utf8cpp = callPackage ../development/libraries/utf8cpp { };
|
||||
|
||||
utf8proc = callPackage ../development/libraries/utf8proc { };
|
||||
|
||||
unicode-paracode = callPackage ../tools/misc/unicode { };
|
||||
|
Loading…
Reference in New Issue
Block a user