2021-12-30 13:39:12 +00:00
|
|
|
{ lib, buildDunePackage, fetchFromGitLab
|
2022-06-16 17:23:12 +00:00
|
|
|
, sedlex, uunf, uutf
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
2021-12-30 13:39:12 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "iri";
|
2023-08-04 22:07:22 +00:00
|
|
|
version = "0.7.0";
|
|
|
|
|
|
|
|
minimalOCamlVersion = "4.12";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "framagit.org";
|
|
|
|
owner = "zoggy";
|
|
|
|
repo = "ocaml-iri";
|
|
|
|
rev = version;
|
2023-08-04 22:07:22 +00:00
|
|
|
hash = "sha256-Mkg7kIIVpKbeWUras1RqtJsRx2Q3dBnm4QqSMJFweF8=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
propagatedBuildInputs = [ sedlex uunf uutf ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "IRI (RFC3987) native OCaml implementation";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.lgpl3;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
2020-04-24 23:36:52 +00:00
|
|
|
inherit (src.meta) homepage;
|
|
|
|
};
|
|
|
|
}
|