Merge pull request #43877 from vbgl/ocaml-ppx_blob-0.4.0
ocamlPackages.ppx_blob: 0.2 -> 0.4.0
This commit is contained in:
commit
e85db6863a
|
@ -1,15 +1,26 @@
|
||||||
{ stdenv, buildOcaml, fetchurl, ppx_tools }:
|
{ stdenv, fetchurl, ocaml, findlib, jbuilder, alcotest
|
||||||
|
, ocaml-migrate-parsetree
|
||||||
|
}:
|
||||||
|
|
||||||
buildOcaml rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "ppx_blob";
|
name = "ocaml${ocaml.version}-ppx_blob-${version}";
|
||||||
version = "0.2";
|
version = "0.4.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/johnwhitington/ppx_blob/archive/v${version}.tar.gz";
|
url = "https://github.com/johnwhitington/ppx_blob/releases/download/${version}/ppx_blob-${version}.tbz";
|
||||||
sha256 = "0kvqfm47f4xbgz0cl7ayz29myyb24xskm35svqrgakjq12nkpsss";
|
sha256 = "1xmslk1mwdzhy1bydgsjlcb7h544c39hvxa8lywp8w72gaggjl16";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ppx_tools ];
|
unpackCmd = "tar xjf $curSrc";
|
||||||
|
|
||||||
|
buildInputs = [ ocaml findlib jbuilder alcotest ocaml-migrate-parsetree ];
|
||||||
|
|
||||||
|
buildPhase = "dune build -p ppx_blob";
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
checkPhase = "dune runtest -p ppx_blob";
|
||||||
|
|
||||||
|
inherit (jbuilder) installPhase;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://github.com/johnwhitington/ppx_blob;
|
homepage = https://github.com/johnwhitington/ppx_blob;
|
||||||
|
|
Loading…
Reference in New Issue