@@ -13,16 +13,11 @@ stdenv.mkDerivation rec {
1313
1414 nativeBuildInputs = [ cmake ];
1515
16− prePatch = stdenv.lib.optional stdenv.isDarwin ''
17− substituteInPlace cmake/dist.cmake \
18− --replace '@executable_path/''${UP_DIR}/''${INSTALL_LIB}' $out'/''${INSTALL_LIB}'
19− '';
20−
21− meta = {
16+ meta = with stdenv.lib; {
2217 homepage = https://github.com/kkos/oniguruma;
2318 description = "Regular expressions library";
24− license = stdenv.lib.licenses.bsd2;
25− maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
26− platforms = with stdenv.lib.platforms; unix;
19+ license = licenses.bsd2;
20+ maintainers = with maintainers; [ fuuzetsu ];
21+ platforms = platforms.unix;
2722 };
2823}