From e4d39749f288680c44152cdef7d438fe06534479 Mon Sep 17 00:00:00 2001 From: Florent Becker Date: Sat, 4 Mar 2017 14:46:04 +0100 Subject: [PATCH] ocsigen-i18n: init at 3.1 --- .../tools/ocaml/ocsigen-i18n/default.nix | 27 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 +++ 2 files changed, 31 insertions(+) create mode 100644 pkgs/development/tools/ocaml/ocsigen-i18n/default.nix 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 ]; + }; + +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 63821dedc2b1..9fc039398556 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5496,6 +5496,10 @@ with pkgs; ocaml-top = callPackage ../development/tools/ocaml/ocaml-top { }; + ocsigen-i18n = callPackage ../development/tools/ocaml/ocsigen-i18n { + ocamlPackages = ocamlPackages_4_03; + }; + opa = callPackage ../development/compilers/opa { nodejs = nodejs-4_x; ocamlPackages = ocamlPackages_4_02;