depot/third_party/nixpkgs/pkgs/development/libraries/utf8cpp/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

25 lines
663 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "utf8cpp";
version = "4.0.3";
src = fetchFromGitHub {
owner = "nemtrif";
repo = "utfcpp";
rev = "v${version}";
fetchSubmodules = true;
hash = "sha256-oUr476HMBYzX64x28Kcudw0B1BVqLUPVVdRzRe82AOc=";
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
homepage = "https://github.com/nemtrif/utfcpp";
changelog = "https://github.com/nemtrif/utfcpp/releases/tag/v${version}";
description = "UTF-8 with C++ in a Portable Way";
license = licenses.boost;
maintainers = with maintainers; [ jobojeha ];
platforms = platforms.all;
};
}