Merge pull request #140812 from jobojeha/update-utf8cpp
This commit is contained in:
commit
ba24275f11
1 changed files with 3 additions and 5 deletions
|
@ -2,20 +2,18 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "utf8cpp";
|
pname = "utf8cpp";
|
||||||
version = "3.1.2";
|
version = "3.2.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "nemtrif";
|
owner = "nemtrif";
|
||||||
repo = "utfcpp";
|
repo = "utfcpp";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
sha256 = "sha256-l5sneFsuvPDIRni2x+aR9fmQ9bzXNnIiP9EzZ63sNtg=";
|
sha256 = "0gsbwif97i025bxgyax4fbf6v9z44zrca4s6wwd8x36ac8qzjppf";
|
||||||
};
|
};
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCMAKE_BUILD_TYPE=None"
|
|
||||||
"-DCMAKE_INSTALL_LIBDIR=lib"
|
"-DCMAKE_INSTALL_LIBDIR=lib"
|
||||||
"-DINSTALL_GTEST=OFF"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
@ -25,7 +23,7 @@ stdenv.mkDerivation rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/nemtrif/utfcpp";
|
homepage = "https://github.com/nemtrif/utfcpp";
|
||||||
description = "UTF-8 with C++ in a Portable Way";
|
description = "UTF-8 with C++ in a Portable Way";
|
||||||
license = licenses.free;
|
license = licenses.boost;
|
||||||
maintainers = with maintainers; [ jobojeha ];
|
maintainers = with maintainers; [ jobojeha ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue