depot/third_party/nixpkgs/pkgs/development/ocaml-modules/ppx_blob/default.nix
Default email 472aeafc57 Project import generated by Copybara.
GitOrigin-RevId: c31898adf5a8ed202ce5bea9f347b1c6871f32d1
2024-10-04 18:56:33 +02:00

23 lines
653 B
Nix

{ lib, fetchurl, buildDunePackage, ocaml, alcotest, ppxlib }:
buildDunePackage rec {
pname = "ppx_blob";
version = "0.9.0";
minimalOCamlVersion = "4.08";
src = fetchurl {
url = "https://github.com/johnwhitington/${pname}/releases/download/${version}/ppx_blob-${version}.tbz";
sha256 = "sha256-8RXpCl8Qdc7cnZMKuRJx+GcOzk3uENwRR6s5uK+1cOQ=";
};
checkInputs = [ alcotest ];
propagatedBuildInputs = [ ppxlib ];
doCheck = true;
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;
};
}