ocamlPackages.ppx_blob: separate checkInputs

This commit is contained in:
Vincent Laporte 2020-04-09 18:58:17 +02:00
parent 84cf00f980
commit 7c15d4b15f
No known key found for this signature in database
GPG Key ID: EBD582ADDDB1F81F

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, buildDunePackage, alcotest, ocaml-migrate-parsetree }: { lib, fetchurl, buildDunePackage, alcotest, ocaml-migrate-parsetree }:
buildDunePackage rec { buildDunePackage rec {
pname = "ppx_blob"; pname = "ppx_blob";
@ -9,10 +9,11 @@ buildDunePackage rec {
sha256 = "1xmslk1mwdzhy1bydgsjlcb7h544c39hvxa8lywp8w72gaggjl16"; sha256 = "1xmslk1mwdzhy1bydgsjlcb7h544c39hvxa8lywp8w72gaggjl16";
}; };
buildInputs = [ alcotest ocaml-migrate-parsetree ]; checkInputs = lib.optional doCheck alcotest;
buildInputs = [ ocaml-migrate-parsetree ];
doCheck = true; doCheck = true;
meta = with stdenv.lib; { meta = with lib; {
homepage = "https://github.com/johnwhitington/ppx_blob"; homepage = "https://github.com/johnwhitington/ppx_blob";
description = "OCaml ppx to include binary data from a file as a string"; description = "OCaml ppx to include binary data from a file as a string";
license = licenses.unlicense; license = licenses.unlicense;