nixpkgs/pkgs/development/libraries/oniguruma/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
811 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, autoreconfHook }:
stdenv.mkDerivation rec {
pname = "oniguruma";
version = "6.9.8";
2014-09-22 00:40:19 +00:00
# Note: do not use fetchpatch or fetchFromGitHub to keep this package available in __bootPackages
src = fetchurl {
url = "https://github.com/kkos/oniguruma/releases/download/v${version}/onig-${version}.tar.gz";
sha256 = "sha256-KM1iwUZGI8eRBWX7HMqqAQSy/osSvNZG6B9ztHU1IT4=";
};
2014-09-22 00:40:19 +00:00
outputs = [ "dev" "lib" "out" ];
outputBin = "dev"; # onig-config
2020-05-29 03:14:19 +00:00
nativeBuildInputs = [ autoreconfHook ];
2021-04-25 10:00:49 +00:00
configureFlags = [ "--enable-posix-api=yes" ];
meta = with lib; {
homepage = "https://github.com/kkos/oniguruma";
description = "Regular expressions library";
license = licenses.bsd2;
maintainers = with maintainers; [ artturin ];
platforms = platforms.unix;
};
}