summary refs log tree commit diff
path: root/pkgs/development/tools/ocaml
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2023-04-21 09:47:21 +0200
committerVincent Laporte <Vincent.Laporte@gmail.com>2023-04-21 10:41:36 +0200
commitd3db6fe015712bba507f363551d3bf6ded16b5db (patch)
tree5f1eb87a2afad9d651f82f9fec2ce5089a1337f4 /pkgs/development/tools/ocaml
parent34122f7321d2abe79b6ca1086b02354495888563 (diff)
ocamlPackages.ocaml_oasis: 0.4.10 → 0.4.11
Diffstat (limited to 'pkgs/development/tools/ocaml')
-rw-r--r--pkgs/development/tools/ocaml/oasis/default.nix12
1 files changed, 5 insertions, 7 deletions
diff --git a/pkgs/development/tools/ocaml/oasis/default.nix b/pkgs/development/tools/ocaml/oasis/default.nix
index c550bef7dda0a..11b7c550d7c45 100644
--- a/pkgs/development/tools/ocaml/oasis/default.nix
+++ b/pkgs/development/tools/ocaml/oasis/default.nix
@@ -1,14 +1,12 @@
 { lib, stdenv, fetchurl, ocaml, findlib, ocamlbuild, ocamlmod, ocamlify }:
 
 stdenv.mkDerivation {
-  version = "0.4.10";
+  version = "0.4.11";
   pname = "ocaml-oasis";
 
-  # You must manually update the url, not just the version. OCamlforge keys off
-  # the number after download.php, not the filename.
   src = fetchurl {
-    url = "https://forge.ocamlcore.org/frs/download.php/1694/oasis-0.4.10.tar.gz";
-    sha256 = "13ah03pbcvrjv5lmx971hvkm9rvbvimska5wmjfvgvd20ca0gn8w";
+    url = "https://download.ocamlcore.org/oasis/oasis/0.4.11/oasis-0.4.11.tar.gz";
+    hash = "sha256-GLc97vTtbpqDM38ks7vi3tZSaLP/cwn8wA0l5X4dwS4=";
   };
 
   createFindlibDestdir = true;
@@ -40,10 +38,10 @@ stdenv.mkDerivation {
 
   meta = with lib; {
     description = "Configure, build and install system for OCaml projects";
-    homepage = "http://oasis.forge.ocamlcore.org/";
+    homepage = "https://github.com/ocaml/oasis";
     license = licenses.lgpl21;
     maintainers = with maintainers; [ vbgl maggesi ];
     mainProgram = "oasis";
-    platforms = ocaml.meta.platforms or [];
+    inherit (ocaml.meta) platforms;
   };
 }