about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/iri/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/ocaml-modules/iri/default.nix')
-rw-r--r--nixpkgs/pkgs/development/ocaml-modules/iri/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/ocaml-modules/iri/default.nix b/nixpkgs/pkgs/development/ocaml-modules/iri/default.nix
new file mode 100644
index 000000000000..54db34bc9740
--- /dev/null
+++ b/nixpkgs/pkgs/development/ocaml-modules/iri/default.nix
@@ -0,0 +1,27 @@
+{ lib, buildDunePackage, fetchFromGitLab
+, sedlex, uunf, uutf
+}:
+
+buildDunePackage rec {
+  pname = "iri";
+  version = "1.0.0";
+
+  minimalOCamlVersion = "4.12";
+
+  src = fetchFromGitLab {
+    domain = "framagit.org";
+    owner = "zoggy";
+    repo = "ocaml-iri";
+    rev = version;
+    hash = "sha256-6Q7qPezmdcO6JSevWl55XAxFuIROZNDrMkYw8VRR7qg=";
+  };
+
+  propagatedBuildInputs = [ sedlex uunf uutf ];
+
+  meta = {
+    description = "IRI (RFC3987) native OCaml implementation";
+    license = lib.licenses.lgpl3;
+    maintainers = [ lib.maintainers.vbgl ];
+    inherit (src.meta) homepage;
+  };
+}