8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
29 lines
704 B
Nix
29 lines
704 B
Nix
{ stdenv, fetchFromGitHub, ocaml, findlib, xtmpl, ulex }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "higlo";
|
|
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;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "OCaml library for syntax highlighting";
|
|
homepage = "https://zoggy.github.io/higlo/";
|
|
license = licenses.lgpl3;
|
|
platforms = ocaml.meta.platforms or [];
|
|
maintainers = with maintainers; [ regnat ];
|
|
};
|
|
}
|
|
|
|
|