utf8proc: 2.6.1 -> 2.7.0

Co-authored-by: sternenseemann <sternenseemann@systemli.org>
This commit is contained in:
R. Ryantm 2021-12-22 06:47:45 +00:00 committed by sterni
parent c6dcfb8f7b
commit da759317b9

View file

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "utf8proc";
version = "2.6.1";
version = "2.7.0";
src = fetchFromGitHub {
owner = "JuliaStrings";
repo = pname;
rev = "v${version}";
sha256 = "1zqc6airkzkssbjxanx5v8blfk90180gc9id0dx8ncs54f1ib8w7";
sha256 = "sha256-UjZFW+ECU1qbKoo2J2GE8gMEas7trz7YI4mqF5WtOvM=";
};
nativeBuildInputs = [ cmake ];
@ -19,12 +19,6 @@ stdenv.mkDerivation rec {
"-DCMAKE_SKIP_BUILD_RPATH=OFF"
];
# the pkg-config file is not created in the cmake installation
# process, so we use the Makefile and install it manually
# see https://github.com/JuliaStrings/utf8proc/issues/198
preConfigure = "make libutf8proc.pc prefix=$out";
postInstall = "install -Dm644 ../libutf8proc.pc -t $out/lib/pkgconfig/";
doCheck = true;
meta = with lib; {