1 { lib, stdenv, fetchurl, autoreconfHook }:
3 stdenv.mkDerivation rec {
7 # Note: do not use fetchpatch or fetchFromGitHub to keep this package available in __bootPackages
9 url = "https://github.com/kkos/oniguruma/releases/download/v${version}/onig-${version}.tar.gz";
10 sha256 = "sha256-YBYr07n8b0iG1MegeSX/03QWdzL1Xc6MSRv9nNgYps8=";
13 outputs = [ "dev" "lib" "out" ];
14 outputBin = "dev"; # onig-config
16 nativeBuildInputs = [ autoreconfHook ];
17 configureFlags = [ "--enable-posix-api=yes" ];
20 homepage = "https://github.com/kkos/oniguruma";
21 description = "Regular expressions library";
22 license = licenses.bsd2;
23 maintainers = with maintainers; [ artturin ];
24 platforms = platforms.unix;