forgejo-lts: 7.0.10 -> 7.0.11
[NixPkgs.git] / pkgs / development / ocaml-modules / ppx_blob / default.nix
blob62ac0769d6eb7a1bfda6d4248c30e3b83753c2f5
1 { lib, fetchurl, buildDunePackage, ocaml, alcotest, ppxlib }:
3 buildDunePackage rec {
4   pname = "ppx_blob";
5   version = "0.9.0";
7   minimalOCamlVersion = "4.08";
9   src = fetchurl {
10     url = "https://github.com/johnwhitington/${pname}/releases/download/${version}/ppx_blob-${version}.tbz";
11     sha256 = "sha256-8RXpCl8Qdc7cnZMKuRJx+GcOzk3uENwRR6s5uK+1cOQ=";
12   };
14   checkInputs = [ alcotest ];
15   propagatedBuildInputs = [ ppxlib ];
16   doCheck = true;
18   meta = with lib; {
19     homepage = "https://github.com/johnwhitington/ppx_blob";
20     description = "OCaml ppx to include binary data from a file as a string";
21     license = licenses.unlicense;
22   };