ocamlPackages.ppx_blob: 0.7.1 -> 0.7.2

This commit is contained in:
sternenseemann 2021-01-01 15:29:10 +01:00 committed by Vincent Laporte
parent 311addecb8
commit 174267e601
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F
2 changed files with 5 additions and 8 deletions

View file

@ -1,18 +1,18 @@
{ lib, fetchurl, buildDunePackage, ocaml, alcotest, ocaml-migrate-parsetree }:
{ lib, fetchurl, buildDunePackage, ocaml, alcotest, ppxlib }:
buildDunePackage rec {
pname = "ppx_blob";
version = "0.7.1";
version = "0.7.2";
useDune2 = true;
src = fetchurl {
url = "https://github.com/johnwhitington/${pname}/releases/download/${version}/ppx_blob-${version}.tbz";
sha256 = "0m616ri6kmawflphiwm6j4djds27v0fjvi8xjz1fq5ydc1sq8d0l";
sha256 = "00haz1cmplk3j9ysh6j656zrldy60585fmlndmfhpd5332mxrfdw";
};
checkInputs = [ alcotest ];
buildInputs = [ ocaml-migrate-parsetree ];
propagatedBuildInputs = [ ppxlib ];
doCheck = lib.versionAtLeast ocaml.version "4.05";
meta = with lib; {

View file

@ -916,10 +916,7 @@ let
pprint = callPackage ../development/ocaml-modules/pprint { };
ppx_blob =
if lib.versionAtLeast ocaml.version "4.02"
then callPackage ../development/ocaml-modules/ppx_blob {}
else null;
ppx_blob = callPackage ../development/ocaml-modules/ppx_blob { };
ppx_cstruct = callPackage ../development/ocaml-modules/cstruct/ppx.nix {};