3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/ocaml-modules/easy-format/default.nix

30 lines
709 B
Nix
Raw Normal View History

{ 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
src = fetchFromGitHub {
owner = "mjambon";
repo = "easy-format";
rev = "v${version}";
sha256 = "sha256-qf73+T9a+eDy78iZgpA08TjIo+lvjftfSkwyT3M96gE=";
2014-06-25 13:08:12 +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";
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";
homepage = "https://github.com/ocaml-community/easy-format";
license = licenses.bsd3;
maintainers = [ maintainers.vbgl ];
2014-06-25 13:08:12 +01:00
};
}