mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
4e42cac49d
This change was produced by searching for remaining occurrences of stdenv.lib and replacing them manually. Reference #108938.
26 lines
703 B
Nix
26 lines
703 B
Nix
{ stdenv, lib, fetchzip, libiconv, ocaml, findlib, ocamlbuild, ncurses }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ocaml-text";
|
|
version = "0.8";
|
|
|
|
src = fetchzip {
|
|
url = "https://github.com/vbmithr/ocaml-text/archive/${version}.tar.gz";
|
|
sha256 = "11jamdfn5s19a0yvl012q1xvdk1grkp4rkrn819imqrvdplqkn1y";
|
|
};
|
|
|
|
buildInputs = [ ocaml findlib ocamlbuild ncurses libiconv ];
|
|
|
|
configurePhase = "iconv_prefix=${libiconv} ocaml setup.ml -configure";
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
|
meta = {
|
|
homepage = "http://ocaml-text.forge.ocamlcore.org/";
|
|
description = "A library for convenient text manipulation";
|
|
license = lib.licenses.bsd3;
|
|
platforms = ocaml.meta.platforms or [];
|
|
};
|
|
}
|