2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, ocaml, findlib, xtmpl, ulex }:
|
2017-03-23 07:58:25 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "higlo";
|
2017-03-23 07:58:25 +00:00
|
|
|
version = "0.6";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zoggy";
|
|
|
|
repo = "higlo";
|
|
|
|
rev = "release-${version}";
|
|
|
|
sha256 = "0m0qyk2ydivai54502s45sdw9w4xr0j3jpwyc4vqk62a7iz9ihxh";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ocaml findlib ];
|
|
|
|
propagatedBuildInputs = [ xtmpl ulex ];
|
|
|
|
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
|
|
|
patches = ./install.patch;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-03-23 07:58:25 +00:00
|
|
|
description = "OCaml library for syntax highlighting";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://zoggy.github.io/higlo/";
|
2017-03-23 07:58:25 +00:00
|
|
|
license = licenses.lgpl3;
|
|
|
|
platforms = ocaml.meta.platforms or [];
|
|
|
|
maintainers = with maintainers; [ regnat ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
|