Skip to content

Commit

Permalink
ocsigen-i18n: init at 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorentBecker authored and vbgl committed Mar 20, 2017
1 parent 0910738 commit e4d3974
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
27 changes: 27 additions & 0 deletions pkgs/development/tools/ocaml/ocsigen-i18n/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};

}
4 changes: 4 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e4d3974

Please sign in to comment.