utf8proc: switch to cmake

This commit is contained in:
Tobias Mayer
2020-08-19 22:12:32 +02:00
parent 8e2b14aceb
commit 020a212127

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub }:
{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "utf8proc";
@@ -11,7 +11,11 @@ stdenv.mkDerivation rec {
sha256 = "1xlkazhdnja4lksn5c9nf4bln5gjqa35a8gwlam5r0728w0h83qq";
};
makeFlags = [ "prefix=$(out)" ];
nativeBuildInputs = [ cmake ];
cmakeFlags = [
"-DBUILD_SHARED_LIBS=ON"
];
meta = with stdenv.lib; {
description = "A clean C library for processing UTF-8 Unicode data";