ocaml-top: 1.2.0-rc → 1.2.0

This commit is contained in:
Vincent Laporte 2023-02-13 07:21:16 +01:00
parent 837cc0d986
commit 9435a8f48e
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F

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;