summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/ppx_blob/default.nix
blob: 9d5f4f4e669df1d919f4e07a8e5e3a41ad0fc21d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ stdenv, buildOcaml, fetchurl, ppx_tools }:

buildOcaml rec {
  name = "ppx_blob";
  version = "0.2";

  src = fetchurl {
    url = "https://github.com/johnwhitington/ppx_blob/archive/v${version}.tar.gz";
    sha256 = "0kvqfm47f4xbgz0cl7ayz29myyb24xskm35svqrgakjq12nkpsss";
  };

  buildInputs = [ ppx_tools ];

  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;
  };
}