lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

ocamlPackages.iri: init at 0.4.0

iri is an OCaml implementation of Internationalized Resource Identifiers
(IRIs).

Homepage: https://framagit.org/zoggy/ocaml-iri

+36
+34
pkgs/development/ocaml-modules/iri/default.nix
··· 1 + { stdenv, fetchFromGitLab, ocaml, findlib 2 + , sedlex, uunf, uutf 3 + }: 4 + 5 + if !stdenv.lib.versionAtLeast ocaml.version "4.03" 6 + then throw "iri is not available for OCaml ${ocaml.version}" 7 + else 8 + 9 + stdenv.mkDerivation rec { 10 + version = "0.4.0"; 11 + name = "ocaml${ocaml.version}-iri-${version}"; 12 + 13 + src = fetchFromGitLab { 14 + domain = "framagit.org"; 15 + owner = "zoggy"; 16 + repo = "ocaml-iri"; 17 + rev = version; 18 + sha256 = "0fsmfmzmyggm0h77a7mb0n41vqi6q4ln1xzsv72zbvysa7l8w84q"; 19 + }; 20 + 21 + buildInputs = [ ocaml findlib ]; 22 + 23 + propagatedBuildInputs = [ sedlex uunf uutf ]; 24 + 25 + createFindlibDestdir = true; 26 + 27 + meta = { 28 + description = "IRI (RFC3987) native OCaml implementation"; 29 + license = stdenv.lib.licenses.lgpl3; 30 + maintainers = [ stdenv.lib.maintainers.vbgl ]; 31 + inherit (src.meta) homepage; 32 + inherit (ocaml.meta) platforms; 33 + }; 34 + }
+2
pkgs/top-level/ocaml-packages.nix
··· 321 321 322 322 inifiles = callPackage ../development/ocaml-modules/inifiles { }; 323 323 324 + iri = callPackage ../development/ocaml-modules/iri { }; 325 + 324 326 jingoo = callPackage ../development/ocaml-modules/jingoo { 325 327 pcre = ocaml_pcre; 326 328 };