Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / oniguruma / default.nix
bloba1a9dc8757353f6ff572a9e6eaf42f2386db06a0
1 { lib, stdenv, fetchurl, autoreconfHook }:
3 stdenv.mkDerivation rec {
4   pname = "oniguruma";
5   version = "6.9.9";
7   # Note: do not use fetchpatch or fetchFromGitHub to keep this package available in __bootPackages
8   src = fetchurl {
9     url = "https://github.com/kkos/oniguruma/releases/download/v${version}/onig-${version}.tar.gz";
10     sha256 = "sha256-YBYr07n8b0iG1MegeSX/03QWdzL1Xc6MSRv9nNgYps8=";
11   };
13   outputs = [ "dev" "lib" "out" ];
14   outputBin = "dev"; # onig-config
16   nativeBuildInputs = [ autoreconfHook ];
17   configureFlags = [ "--enable-posix-api=yes" ];
19   meta = with lib; {
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;
25   };