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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
761 B
Nix
Raw Normal View History

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