1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/ocaml-modules/ppx_blob/default.nix

21 lines
625 B
Nix
Raw Normal View History

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