depot/third_party/nixpkgs/pkgs/development/tools/ocaml/ocsigen-i18n/default.nix
Default email 4bac34ead1 Project import generated by Copybara.
GitOrigin-RevId: 724bfc0892363087709bd3a5a1666296759154b1
2023-02-09 12:40:11 +01:00

33 lines
761 B
Nix

{ lib, stdenv, fetchFromGitHub, ocamlPackages }:
stdenv.mkDerivation rec {
pname = "ocsigen-i18n";
version = "3.7.0";
strictDeps = true;
nativeBuildInputs = with ocamlPackages; [ ocaml findlib ];
buildInputs = with ocamlPackages; [ ppx_tools ];
dontStrip = true;
installPhase = ''
mkdir -p $out/bin
make bindir=$out/bin install
'';
src = fetchFromGitHub {
owner = "besport";
repo = "ocsigen-i18n";
rev = version;
sha256 = "sha256-PmdDyn+MUcNFrZpP/KLGQzdXUFRr+dYRAZjTZxHSeaw=";
};
meta = {
homepage = "https://github.com/besport/ocsigen-i18n";
description = "I18n made easy for web sites written with eliom";
license = lib.licenses.lgpl21;
maintainers = [ lib.maintainers.gal_bolle ];
};
}