diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2016-10-25 19:32:16 +0200 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2016-11-23 10:01:32 +0100 |
commit | dd45d2552fd950dbaa3ec7c8eaf3fc5f8188aea1 (patch) | |
tree | ac169e5674bc410a9a867d3092c60e82cd8e6911 /pkgs/development/ocaml-modules | |
parent | 66b9602a2fb61cc4ed2181ba43476fcc1740ce96 (diff) | |
download | nixpkgs-dd45d2552fd950dbaa3ec7c8eaf3fc5f8188aea1.tar nixpkgs-dd45d2552fd950dbaa3ec7c8eaf3fc5f8188aea1.tar.gz nixpkgs-dd45d2552fd950dbaa3ec7c8eaf3fc5f8188aea1.tar.bz2 nixpkgs-dd45d2552fd950dbaa3ec7c8eaf3fc5f8188aea1.tar.lz nixpkgs-dd45d2552fd950dbaa3ec7c8eaf3fc5f8188aea1.tar.xz nixpkgs-dd45d2552fd950dbaa3ec7c8eaf3fc5f8188aea1.tar.zst nixpkgs-dd45d2552fd950dbaa3ec7c8eaf3fc5f8188aea1.zip |
ocamlPackages.alcotest: 0.4.5 -> 0.7.2
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r-- | pkgs/development/ocaml-modules/alcotest/default.nix | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/pkgs/development/ocaml-modules/alcotest/default.nix b/pkgs/development/ocaml-modules/alcotest/default.nix index ddc710bc7ed..bf0ae24ff03 100644 --- a/pkgs/development/ocaml-modules/alcotest/default.nix +++ b/pkgs/development/ocaml-modules/alcotest/default.nix @@ -1,15 +1,21 @@ -{ stdenv, buildOcaml, fetchzip, cmdliner, stringext }: +{ stdenv, fetchzip, ocaml, findlib, ocamlbuild, topkg, opam, cmdliner, astring, fmt, result }: -buildOcaml rec { - name = "alcotest"; - version = "0.4.5"; +stdenv.mkDerivation rec { + name = "ocaml${ocaml.version}-alcotest-${version}"; + version = "0.7.2"; src = fetchzip { url = "https://github.com/mirage/alcotest/archive/${version}.tar.gz"; - sha256 = "1wcn9hkjf4cbnrz99w940qfjpi0lvd8v63yxwpnafkff871dwk6k"; + sha256 = "1qgsz2zz5ky6s5pf3j3shc4fjc36rqnjflk8x0wl1fcpvvkr52md"; }; - propagatedBuildInputs = [ cmdliner stringext ]; + buildInputs = [ ocaml findlib ocamlbuild opam topkg ]; + + propagatedBuildInputs = [ cmdliner astring fmt result ]; + + inherit (topkg) buildPhase installPhase; + + createFindlibDestdir = true; meta = with stdenv.lib; { homepage = https://github.com/mirage/alcotest; |