ocamlPackages.js_build_tools: remove at 113.33.06

This commit is contained in:
Vincent Laporte 2021-11-30 10:21:51 +01:00 committed by Vincent Laporte
parent 4263090128
commit fb881b80f6
3 changed files with 0 additions and 44 deletions

View File

@ -1,11 +0,0 @@
--- a/ocamlbuild_goodies/jane_street_ocamlbuild_goodies.ml
+++ b/ocamlbuild_goodies/jane_street_ocamlbuild_goodies.ml
@@ -65,7 +65,7 @@ let track_external_deps = function
let stat, md5sum =
match run_and_read "uname" |> String.trim with
- | "Darwin" ->
+ | "FreeBSD" | "NetBSD" ->
(S [A "stat"; A "-f"; A "%d:%i:%m"],
A "md5")
| _ ->

View File

@ -1,31 +0,0 @@
{ lib, buildOcaml, fetchurl, ocaml_oasis, opaline }:
buildOcaml rec {
pname = "js-build-tools";
version = "113.33.06";
minimumSupportedOcamlVersion = "4.02";
src = fetchurl {
url = "https://github.com/janestreet/js-build-tools/archive/${version}.tar.gz";
sha256 = "1nvgyp4gsnlnpix3li6kr90b12iin5ihichv298p03i6h2809dia";
};
hasSharedObjects = true;
buildInputs = [ ocaml_oasis opaline ];
dontAddPrefix = true;
dontAddStaticConfigureFlags = true;
configurePlatforms = [];
configurePhase = "./configure --prefix $prefix";
installPhase = "opaline -prefix $prefix -libdir $OCAMLFIND_DESTDIR js-build-tools.install";
patches = [ ./js-build-tools-darwin.patch ];
meta = with lib; {
description = "Jane Street Build Tools";
maintainers = [ maintainers.maurer ];
license = licenses.asl20;
};
}

View File

@ -1475,8 +1475,6 @@ let
inherit (pkgs) stdenv lib openssl;
};
js_build_tools = callPackage ../development/ocaml-modules/janestreet/js-build-tools.nix {};
# Apps / from all-packages
ocamlnat = callPackage ../development/ocaml-modules/ocamlnat { };