nixpkgs/pkgs/development/libraries/oniguruma/default.nix
R. RyanTM 4486243239 oniguruma: 6.7.1 -> 6.8.2
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/onig/versions.

These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 6.8.2 with grep in /nix/store/ns5crqr9hb3l0p1l9865va71sv2xg6cz-onig-6.8.2
- directory tree listing: https://gist.github.com/fef8043e3042d40389d1a1b025204060
2018-04-20 01:32:36 -07:00

28 lines
772 B
Nix

{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
name = "onig-${version}";
version = "6.8.2";
src = fetchFromGitHub {
owner = "kkos";
repo = "oniguruma";
rev = "v${version}";
sha256 = "00ly5i26n7wajhyhq3xadsc7dxrf7qllhwilk8dza2qj5dhld4nd";
};
nativeBuildInputs = [ cmake ];
prePatch = stdenv.lib.optional stdenv.isDarwin ''
substituteInPlace cmake/dist.cmake \
--replace '@executable_path/''${UP_DIR}/''${INSTALL_LIB}' $out'/''${INSTALL_LIB}'
'';
meta = {
homepage = https://github.com/kkos/oniguruma;
description = "Regular expressions library";
license = stdenv.lib.licenses.bsd2;
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
platforms = with stdenv.lib.platforms; unix;
};
}