nixpkgs/pkgs/development/libraries/utf8cpp/default.nix
Jonathan Jeppener-Haltenhoff 43acf51881 utf8cpp: 3.1.2 -> 3.2.1
Bump Package Version. Specify correct upstream license. Remove Cmake flag that are not required anymore.
2021-10-07 00:30:30 +02:00

30 lines
663 B
Nix

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