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