1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-13 16:15:30 +00:00
nixpkgs/pkgs/development/tools/ocaml/ocsigen-i18n/default.nix

30 lines
684 B
Nix
Raw Normal View History

{ lib, stdenv, fetchzip, ocamlPackages }:
2017-03-04 13:46:04 +00:00
stdenv.mkDerivation rec
{
2018-05-28 13:59:57 +01:00
pname = "ocsigen-i18n";
2021-01-20 09:53:11 +00:00
version = "3.7.0";
2017-03-04 13:46:04 +00:00
2020-03-07 09:21:37 +00:00
buildInputs = with ocamlPackages; [ ocaml findlib ppx_tools ];
dontStrip = true;
2017-03-04 13:46:04 +00:00
installPhase = ''
mkdir -p $out/bin
make bindir=$out/bin install
'';
2020-03-07 09:21:37 +00:00
src = fetchzip {
2018-05-28 13:59:57 +01:00
url = "https://github.com/besport/${pname}/archive/${version}.tar.gz";
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
};
}