mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 16:15:05 +00:00
25 lines
609 B
Nix
25 lines
609 B
Nix
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "onig";
|
|
version = "6.9.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kkos";
|
|
repo = "oniguruma";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-8aFZdhh6ovLCR0A17rvWq/Oif66rSMnHcCYHjClNElw=";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
configureFlags = [ "--enable-posix-api=yes" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/kkos/oniguruma";
|
|
description = "Regular expressions library";
|
|
license = licenses.bsd2;
|
|
maintainers = with maintainers; [ ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|