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}";
|
2018-04-20 10:32:36 +02:00
|
|
|
version = "6.8.2";
|
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}";
|
2018-04-20 10:32:36 +02:00
|
|
|
sha256 = "00ly5i26n7wajhyhq3xadsc7dxrf7qllhwilk8dza2qj5dhld4nd";
|
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 ];
|
|
|
|
|
2018-04-24 00:28:54 +02:00
|
|
|
meta = with stdenv.lib; {
|
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";
|
2018-04-24 00:28:54 +02:00
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ fuuzetsu ];
|
|
|
|
platforms = platforms.unix;
|
2012-12-01 21:28:32 +01:00
|
|
|
};
|
|
|
|
}
|