diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/utf8cpp')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/utf8cpp/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/utf8cpp/default.nix b/nixpkgs/pkgs/development/libraries/utf8cpp/default.nix new file mode 100644 index 000000000000..1ca767d98cb6 --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/utf8cpp/default.nix @@ -0,0 +1,25 @@ +{ 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; + }; +} |