ocamlPackages.uuuu: init 0.2.0
This commit is contained in:
parent
b397bd63b7
commit
1f621984d4
40
pkgs/development/ocaml-modules/uuuu/default.nix
Normal file
40
pkgs/development/ocaml-modules/uuuu/default.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{ angstrom
|
||||
, buildDunePackage
|
||||
, fetchzip
|
||||
, findlib
|
||||
, lib
|
||||
, menhir
|
||||
, ocaml
|
||||
, re
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "uuuu";
|
||||
version = "0.2.0";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/mirage/uuuu/releases/download/v${version}/uuuu-v${version}.tbz";
|
||||
sha256 = "0457qcxvakbbc56frsh8a5v4y4l0raj9p4zz7jx3brn9255j1mw3";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/dune --replace 'ocaml} ' \
|
||||
'ocaml} -I ${findlib}/lib/ocaml/${ocaml.version}/site-lib '
|
||||
'';
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
nativeBuildInputs = [ menhir ];
|
||||
|
||||
buildInputs = [ angstrom ];
|
||||
|
||||
checkInputs = [ re ];
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
description = "A library to normalize an ISO-8859 input to Unicode code-point";
|
||||
license = lib.licenses.mit;
|
||||
homepage = "https://github.com/mirage/uuuu";
|
||||
maintainers = with lib.maintainers; [ superherointj ];
|
||||
};
|
||||
}
|
@ -1368,6 +1368,8 @@ let
|
||||
uuseg = callPackage ../development/ocaml-modules/uuseg { };
|
||||
uutf = callPackage ../development/ocaml-modules/uutf { };
|
||||
|
||||
uuuu = callPackage ../development/ocaml-modules/uuuu { };
|
||||
|
||||
variantslib_p4 = callPackage ../development/ocaml-modules/variantslib { };
|
||||
|
||||
vchan = callPackage ../development/ocaml-modules/vchan { };
|
||||
|
Loading…
Reference in New Issue
Block a user