2018-11-05 10:21:46 +00:00
|
|
|
{ stdenv, fetchurl, buildDunePackage, alcotest, ocaml-migrate-parsetree }:
|
2016-07-20 23:05:51 +00:00
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "ppx_blob";
|
2018-07-21 07:53:23 +00:00
|
|
|
version = "0.4.0";
|
2016-07-20 23:05:51 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-11-05 10:21:46 +00:00
|
|
|
url = "https://github.com/johnwhitington/${pname}/releases/download/${version}/ppx_blob-${version}.tbz";
|
2018-07-21 07:53:23 +00:00
|
|
|
sha256 = "1xmslk1mwdzhy1bydgsjlcb7h544c39hvxa8lywp8w72gaggjl16";
|
2016-07-20 23:05:51 +00:00
|
|
|
};
|
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
buildInputs = [ alcotest ocaml-migrate-parsetree ];
|
2018-07-21 07:53:23 +00:00
|
|
|
doCheck = true;
|
2016-07-20 23:05:51 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 20:03:30 +00:00
|
|
|
homepage = https://github.com/johnwhitington/ppx_blob;
|
2016-07-20 23:05:51 +00:00
|
|
|
description = "OCaml ppx to include binary data from a file as a string";
|
|
|
|
license = licenses.unlicense;
|
|
|
|
};
|
|
|
|
}
|