blade-formatter: 1.42.0 -> 1.42.1 (#376873)
[NixPkgs.git] / pkgs / by-name / ut / utf8cpp / package.nix
blob4ab4fe494edc1a810459c0c51d1e55e530dff0d2
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   cmake,
6 }:
8 stdenv.mkDerivation rec {
9   pname = "utf8cpp";
10   version = "4.0.6";
12   src = fetchFromGitHub {
13     owner = "nemtrif";
14     repo = "utfcpp";
15     rev = "v${version}";
16     fetchSubmodules = true;
17     hash = "sha256-e8qH4eygLnQw7B8x+HN+vH8cr8fkxnTFz+PKtFJ8dGE=";
18   };
20   nativeBuildInputs = [ cmake ];
22   meta = with lib; {
23     homepage = "https://github.com/nemtrif/utfcpp";
24     changelog = "https://github.com/nemtrif/utfcpp/releases/tag/v${version}";
25     description = "UTF-8 with C++ in a Portable Way";
26     license = licenses.boost;
27     maintainers = with maintainers; [ jobojeha ];
28     platforms = platforms.all;
29   };