2017-09-28 13:53:18 +02:00
|
|
|
{ stdenv, fetchFromGitHub, cmake }:
|
2012-12-01 21:28:32 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-09-28 13:53:18 +02:00
|
|
|
name = "onig-${version}";
|
|
|
|
version = "6.6.1";
|
2014-09-22 02:40:19 +02:00
|
|
|
|
2017-09-28 13:53:18 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kkos";
|
|
|
|
repo = "oniguruma";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "062g5443dyxsraq346panfqvbd6wal6nmb336n4dw1rszx576sxz";
|
2012-12-01 21:28:32 +01:00
|
|
|
};
|
2014-09-22 02:40:19 +02:00
|
|
|
|
2017-09-28 13:53:18 +02:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2012-12-01 21:28:32 +01:00
|
|
|
meta = {
|
2017-09-28 13:53:18 +02:00
|
|
|
homepage = https://github.com/kkos/oniguruma;
|
2014-08-24 16:21:08 +02:00
|
|
|
description = "Regular expressions library";
|
2014-09-22 02:40:19 +02:00
|
|
|
license = stdenv.lib.licenses.bsd2;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = with stdenv.lib.platforms; unix;
|
2012-12-01 21:28:32 +01:00
|
|
|
};
|
|
|
|
}
|