2017-09-28 11:53:18 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake }:
|
2012-12-01 20:28:32 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "onig";
|
2019-12-08 22:07:29 +00:00
|
|
|
version = "6.9.4";
|
2014-09-22 00:40:19 +00:00
|
|
|
|
2017-09-28 11:53:18 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kkos";
|
|
|
|
repo = "oniguruma";
|
|
|
|
rev = "v${version}";
|
2019-12-08 22:07:29 +00:00
|
|
|
sha256 = "11imbhj4p5w8lvrmcczccm1zq014h9j85r51z2ibb8jhf5p3lslh";
|
2012-12-01 20:28:32 +00:00
|
|
|
};
|
2014-09-22 00:40:19 +00:00
|
|
|
|
2017-09-28 11:53:18 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2018-04-23 22:28:54 +00:00
|
|
|
meta = with stdenv.lib; {
|
2017-09-28 11:53:18 +00:00
|
|
|
homepage = https://github.com/kkos/oniguruma;
|
2014-08-24 14:21:08 +00:00
|
|
|
description = "Regular expressions library";
|
2018-04-23 22:28:54 +00:00
|
|
|
license = licenses.bsd2;
|
2019-12-05 07:29:48 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2018-04-23 22:28:54 +00:00
|
|
|
platforms = platforms.unix;
|
2012-12-01 20:28:32 +00:00
|
|
|
};
|
|
|
|
}
|