ocamlPackages.alcotest: 0.4.5 -> 0.7.2

+12 -6
+12 -6
pkgs/development/ocaml-modules/alcotest/default.nix
··· 1 - { stdenv, buildOcaml, fetchzip, cmdliner, stringext }: 2 3 - buildOcaml rec { 4 - name = "alcotest"; 5 - version = "0.4.5"; 6 7 src = fetchzip { 8 url = "https://github.com/mirage/alcotest/archive/${version}.tar.gz"; 9 - sha256 = "1wcn9hkjf4cbnrz99w940qfjpi0lvd8v63yxwpnafkff871dwk6k"; 10 }; 11 12 - propagatedBuildInputs = [ cmdliner stringext ]; 13 14 meta = with stdenv.lib; { 15 homepage = https://github.com/mirage/alcotest;
··· 1 + { stdenv, fetchzip, ocaml, findlib, ocamlbuild, topkg, opam, cmdliner, astring, fmt, result }: 2 3 + stdenv.mkDerivation rec { 4 + name = "ocaml${ocaml.version}-alcotest-${version}"; 5 + version = "0.7.2"; 6 7 src = fetchzip { 8 url = "https://github.com/mirage/alcotest/archive/${version}.tar.gz"; 9 + sha256 = "1qgsz2zz5ky6s5pf3j3shc4fjc36rqnjflk8x0wl1fcpvvkr52md"; 10 }; 11 12 + buildInputs = [ ocaml findlib ocamlbuild opam topkg ]; 13 + 14 + propagatedBuildInputs = [ cmdliner astring fmt result ]; 15 + 16 + inherit (topkg) buildPhase installPhase; 17 + 18 + createFindlibDestdir = true; 19 20 meta = with stdenv.lib; { 21 homepage = https://github.com/mirage/alcotest;