Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
23 lines
653 B
Nix
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;
|
|
};
|
|
}
|