2021-10-30 21:51:25 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, ocaml, findlib }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
2014-06-25 13:08:12 +01:00
|
|
|
pname = "easy-format";
|
2015-12-15 20:07:33 +00:00
|
|
|
version = "1.2.0";
|
2014-06-25 13:08:12 +01:00
|
|
|
|
2021-10-30 21:51:25 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mjambon";
|
|
|
|
repo = "easy-format";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-qf73+T9a+eDy78iZgpA08TjIo+lvjftfSkwyT3M96gE=";
|
2014-06-25 13:08:12 +01:00
|
|
|
};
|
|
|
|
|
2021-08-14 13:00:00 +01:00
|
|
|
nativeBuildInputs = [ ocaml findlib ];
|
|
|
|
strictDeps = true;
|
2014-06-25 13:08:12 +01:00
|
|
|
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
2015-11-30 10:45:55 +00:00
|
|
|
doCheck = true;
|
|
|
|
checkTarget = "test";
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2014-06-25 13:08:12 +01:00
|
|
|
description = "A high-level and functional interface to the Format module of the OCaml standard library";
|
2021-10-30 21:51:25 +01:00
|
|
|
homepage = "https://github.com/ocaml-community/easy-format";
|
2014-09-21 11:02:55 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.vbgl ];
|
2014-06-25 13:08:12 +01:00
|
|
|
};
|
|
|
|
}
|