about summary refs log tree commit diff
path: root/pkgs/development/tools/ocaml
diff options
context:
space:
mode:
authorFlorent Becker <florent.becker@ens-lyon.org>2017-03-04 14:46:04 +0100
committerVincent Laporte <Vincent.Laporte@gmail.com>2017-03-20 08:20:16 +0000
commite4d39749f288680c44152cdef7d438fe06534479 (patch)
tree47abdf884908424bf0d0c52c3726a1440a8c0bea /pkgs/development/tools/ocaml
parent091073819a8e1cf98b7bb02f4a8d2e3af97b67e4 (diff)
downloadnixlib-e4d39749f288680c44152cdef7d438fe06534479.tar
nixlib-e4d39749f288680c44152cdef7d438fe06534479.tar.gz
nixlib-e4d39749f288680c44152cdef7d438fe06534479.tar.bz2
nixlib-e4d39749f288680c44152cdef7d438fe06534479.tar.lz
nixlib-e4d39749f288680c44152cdef7d438fe06534479.tar.xz
nixlib-e4d39749f288680c44152cdef7d438fe06534479.tar.zst
nixlib-e4d39749f288680c44152cdef7d438fe06534479.zip
ocsigen-i18n: init at 3.1
Diffstat (limited to 'pkgs/development/tools/ocaml')
-rw-r--r--pkgs/development/tools/ocaml/ocsigen-i18n/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/tools/ocaml/ocsigen-i18n/default.nix b/pkgs/development/tools/ocaml/ocsigen-i18n/default.nix
new file mode 100644
index 000000000000..c212ce324b33
--- /dev/null
+++ b/pkgs/development/tools/ocaml/ocsigen-i18n/default.nix
@@ -0,0 +1,27 @@
+{ stdenv, fetchurl, ocamlPackages }:
+
+stdenv.mkDerivation rec
+{
+  name = "ocsigen-i18n";
+  version = "3.1.0";
+
+  buildInputs = with ocamlPackages; [ ocaml findlib ];
+
+  installPhase = ''
+    mkdir -p $out/bin
+    make bindir=$out/bin install
+  '';
+
+  src = fetchurl {
+    url = "https://github.com/besport/${name}/archive/${version}.tar.gz";
+    sha256 = "0cw0mmr67wx03j4279z7ldxwb01smkqz9rbklx5lafrj5sf99178";
+  };
+
+  meta = {
+    homepage = https://github.com/besport/ocsigen-i18n;
+    description = "I18n made easy for web sites written with eliom";
+    license = stdenv.lib.licenses.lgpl21;
+    maintainers = [ stdenv.lib.maintainers.gal_bolle ];
+  };
+
+}