Merge pull request #216125 from vbgl/ocaml-top-1.2.0

ocaml-top: 1.2.0-rc → 1.2.0
This commit is contained in:
Weijia Wang 2023-02-13 15:33:22 +01:00 committed by GitHub
commit d76b0f10e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,13 +2,13 @@
with ocamlPackages; buildDunePackage rec {
pname = "ocaml-top";
version = "1.2.0-rc";
version = "1.2.0";
src = fetchFromGitHub {
owner = "OCamlPro";
repo = "ocaml-top";
rev = version;
sha256 = "sha256-ZXnPnPvJmHshkTwYWeBojrgJYAF/R6vUo0XkvVMFSeQ=";
hash = "sha256-xmPGGB/zUpfeAxUIhR1PhfoESAJq7sTpqHuf++EH3Lw=";
};
nativeBuildInputs = [ ocp-build ];
@ -19,11 +19,6 @@ with ocamlPackages; buildDunePackage rec {
ocp-build -init
'';
postPatch = ''
substituteInPlace src/completion.ml \
--replace 'LibIndex.load ' 'LibIndex.load ~qualify:false '
'';
meta = {
homepage = "https://www.typerex.org/ocaml-top.html";
license = lib.licenses.gpl3;