nixpkgs/pkgs/development/libraries/utf8cpp/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
663 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake }:
2020-06-01 13:14:31 +00:00
stdenv.mkDerivation rec {
pname = "utf8cpp";
2024-01-05 04:43:07 +00:00
version = "4.0.5";
2020-06-01 13:14:31 +00:00
src = fetchFromGitHub {
owner = "nemtrif";
repo = "utfcpp";
rev = "v${version}";
fetchSubmodules = true;
2024-01-05 04:43:07 +00:00
hash = "sha256-Z27/31obVErsmW1b1SVcr45nKlFu01RqqpTMwS0LqJ8=";
2020-06-01 13:14:31 +00:00
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
2020-06-01 13:14:31 +00:00
homepage = "https://github.com/nemtrif/utfcpp";
2023-09-29 18:50:45 +00:00
changelog = "https://github.com/nemtrif/utfcpp/releases/tag/v${version}";
2020-06-01 13:14:31 +00:00
description = "UTF-8 with C++ in a Portable Way";
license = licenses.boost;
2020-06-01 13:14:31 +00:00
maintainers = with maintainers; [ jobojeha ];
2021-03-10 11:00:13 +00:00
platforms = platforms.all;
2020-06-01 13:14:31 +00:00
};
}