depot/third_party/nixpkgs/pkgs/development/ocaml-modules/easy-format/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

28 lines
702 B
Nix

{ lib, stdenv, fetchzip, ocaml, findlib }:
let
pname = "easy-format";
version = "1.2.0";
in
stdenv.mkDerivation {
name = "${pname}-${version}";
src = fetchzip {
url = "https://github.com/mjambon/${pname}/archive/v${version}.tar.gz";
sha256 = "00ga7mrlycjc99gzp3bgx6iwhf7i6j8856f8xzrf1yas7zwzgzm9";
};
buildInputs = [ ocaml findlib ];
createFindlibDestdir = true;
doCheck = true;
checkTarget = "test";
meta = with lib; {
description = "A high-level and functional interface to the Format module of the OCaml standard library";
homepage = "https://github.com/ocaml-community/${pname}";
license = licenses.bsd3;
maintainers = [ maintainers.vbgl ];
};
}