diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2020-04-09 18:58:17 +0200 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2020-04-10 19:03:29 +0200 |
commit | 7c15d4b15ff759831d848ac7c1af1e932cd65da8 (patch) | |
tree | 78b9a86ef11f950521e17fcc4c98ea4fd7b71fb3 /pkgs/development/ocaml-modules/ppx_blob | |
parent | 84cf00f98031e93f389f1eb93c4a7374a33cc0a9 (diff) | |
download | nixpkgs-7c15d4b15ff759831d848ac7c1af1e932cd65da8.tar nixpkgs-7c15d4b15ff759831d848ac7c1af1e932cd65da8.tar.gz nixpkgs-7c15d4b15ff759831d848ac7c1af1e932cd65da8.tar.bz2 nixpkgs-7c15d4b15ff759831d848ac7c1af1e932cd65da8.tar.lz nixpkgs-7c15d4b15ff759831d848ac7c1af1e932cd65da8.tar.xz nixpkgs-7c15d4b15ff759831d848ac7c1af1e932cd65da8.tar.zst nixpkgs-7c15d4b15ff759831d848ac7c1af1e932cd65da8.zip |
ocamlPackages.ppx_blob: separate checkInputs
Diffstat (limited to 'pkgs/development/ocaml-modules/ppx_blob')
-rw-r--r-- | pkgs/development/ocaml-modules/ppx_blob/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/ocaml-modules/ppx_blob/default.nix b/pkgs/development/ocaml-modules/ppx_blob/default.nix index b6a451848c9..cc106b70f42 100644 --- a/pkgs/development/ocaml-modules/ppx_blob/default.nix +++ b/pkgs/development/ocaml-modules/ppx_blob/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, buildDunePackage, alcotest, ocaml-migrate-parsetree }: +{ lib, fetchurl, buildDunePackage, alcotest, ocaml-migrate-parsetree }: buildDunePackage rec { pname = "ppx_blob"; @@ -9,10 +9,11 @@ buildDunePackage rec { sha256 = "1xmslk1mwdzhy1bydgsjlcb7h544c39hvxa8lywp8w72gaggjl16"; }; - buildInputs = [ alcotest ocaml-migrate-parsetree ]; + checkInputs = lib.optional doCheck alcotest; + buildInputs = [ ocaml-migrate-parsetree ]; doCheck = true; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://github.com/johnwhitington/ppx_blob"; description = "OCaml ppx to include binary data from a file as a string"; license = licenses.unlicense; |