at 24.11-pre 663 B view raw
1{ lib, stdenv, fetchFromGitHub, cmake }: 2 3stdenv.mkDerivation rec { 4 pname = "utf8cpp"; 5 version = "4.0.5"; 6 7 src = fetchFromGitHub { 8 owner = "nemtrif"; 9 repo = "utfcpp"; 10 rev = "v${version}"; 11 fetchSubmodules = true; 12 hash = "sha256-Z27/31obVErsmW1b1SVcr45nKlFu01RqqpTMwS0LqJ8="; 13 }; 14 15 nativeBuildInputs = [ cmake ]; 16 17 meta = with lib; { 18 homepage = "https://github.com/nemtrif/utfcpp"; 19 changelog = "https://github.com/nemtrif/utfcpp/releases/tag/v${version}"; 20 description = "UTF-8 with C++ in a Portable Way"; 21 license = licenses.boost; 22 maintainers = with maintainers; [ jobojeha ]; 23 platforms = platforms.all; 24 }; 25}