nixpkgs/pkgs/development/tools/ocaml/ocsigen-i18n/default.nix

32 lines
715 B
Nix
Raw Normal View History

2017-03-04 13:46:04 +00:00
{ stdenv, fetchurl, ocamlPackages }:
stdenv.mkDerivation rec
{
2018-05-28 12:59:57 +00:00
pname = "ocsigen-i18n";
name = "${pname}-${version}";
2017-03-04 13:46:04 +00:00
version = "3.1.0";
buildInputs = with ocamlPackages; [ ocaml findlib ];
dontStrip = true;
2017-03-04 13:46:04 +00:00
installPhase = ''
mkdir -p $out/bin
make bindir=$out/bin install
'';
src = fetchurl {
2018-05-28 12:59:57 +00:00
url = "https://github.com/besport/${pname}/archive/${version}.tar.gz";
2017-03-04 13:46:04 +00:00
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 ];
};
}