Merge pull request #3128 from vbgl/easy-format

Adds easy-format
This commit is contained in:
Austin Seipp 2014-07-02 13:46:47 -05:00
commit 5edecf1eef
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{stdenv, fetchurl, ocaml, findlib}:
let
pname = "easy-format";
version = "1.0.2";
webpage = "http://mjambon.com/${pname}.html";
in
stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "http://mjambon.com/releases/${pname}/${name}.tar.gz";
sha256 = "07wlgprqvk92z0p2xzbnvh312ca6gvhy3xc6hxlqfawnnnin7rzi";
};
buildInputs = [ ocaml findlib ];
createFindlibDestdir = true;
meta = {
description = "A high-level and functional interface to the Format module of the OCaml standard library";
homepage = "${webpage}";
license = "bsd";
};
}

View File

@ -3194,6 +3194,8 @@ let
deriving = callPackage ../development/tools/ocaml/deriving { };
easy-format = callPackage ../development/ocaml-modules/easy-format { };
findlib = callPackage ../development/tools/ocaml/findlib { };
dypgen = callPackage ../development/ocaml-modules/dypgen { };