dune: 3.20.2 -> 3.21.1 (#489721)

This commit is contained in:
Vincent Laporte
2026-02-13 19:36:10 +00:00
committed by GitHub
15 changed files with 49 additions and 43 deletions
+2 -2
View File
@@ -3,7 +3,7 @@
stdenv,
fetchurl,
buildPackages,
version ? "3.20.2",
version ? "3.21.1",
}:
let
# needed for pkgsStatic
@@ -21,7 +21,7 @@ stdenv.mkDerivation {
"https://github.com/ocaml/dune/releases/download/${version}/dune-${sfx}${version}.tbz";
hash =
{
"3.20.2" = "sha256-sahrLWC9tKi5u2hhvfL58opufLXYM86Br+zOue+cpUk=";
"3.21.1" = "sha256-hPeoLG2ApxJPOEfppInoDPvq+3vtNXOsAShu9W/QjZQ=";
"2.9.3" = "sha256:1ml8bxym8sdfz25bx947al7cvsi2zg5lcv7x9w6xb01cmdryqr9y";
}
."${version}";
@@ -13,10 +13,6 @@ buildDunePackage {
dontAddPrefix = true;
preBuild = ''
rm -r vendor/csexp
'';
meta = {
description = "Chrome trace event generation library";
inherit (dune_3.meta) homepage;
@@ -21,10 +21,6 @@ buildDunePackage {
dune-rpc
];
preBuild = ''
rm -r vendor/csexp
'';
meta = {
inherit (dune_3.meta) homepage;
description = "API for writing dynamic Dune actions";
@@ -6,7 +6,7 @@
buildDunePackage {
pname = "dune-build-info";
inherit (dune-action-plugin) src version preBuild;
inherit (dune-action-plugin) src version;
dontAddPrefix = true;
@@ -10,11 +10,6 @@ buildDunePackage {
inherit (dune_3) src version patches;
# This fixes finding csexp
postPatch = ''
rm -rf vendor/pp vendor/csexp
'';
minimalOCamlVersion = "4.05";
dontAddPrefix = true;
@@ -3,6 +3,7 @@
buildDunePackage,
dune_3,
dune-private-libs,
re,
}:
buildDunePackage {
@@ -13,11 +14,10 @@ buildDunePackage {
dontAddPrefix = true;
propagatedBuildInputs = [ dune-private-libs ];
preBuild = ''
rm -r vendor/csexp
'';
propagatedBuildInputs = [
dune-private-libs
re
];
meta = {
inherit (dune_3.meta) homepage;
@@ -18,10 +18,6 @@ buildDunePackage {
propagatedBuildInputs = [ stdune ];
preBuild = ''
rm -r vendor/csexp
'';
meta = {
description = "Private libraries of Dune";
maintainers = [ ];
@@ -6,6 +6,7 @@
stdune,
ocamlc-loc,
ordering,
pp,
xdg,
dyn,
}:
@@ -23,14 +24,11 @@ buildDunePackage {
stdune
ocamlc-loc
ordering
pp
xdg
dyn
];
preBuild = ''
rm -r vendor/csexp
'';
meta = {
description = "Library to connect and control a running dune instance";
inherit (dune_3.meta) homepage;
@@ -15,10 +15,6 @@ buildDunePackage {
propagatedBuildInputs = [ dune-private-libs ];
preBuild = ''
rm -r vendor/csexp
'';
meta = {
description = "Library for embedding location information inside executable and libraries";
inherit (dune_3.meta) homepage;
@@ -2,6 +2,7 @@
buildDunePackage,
dune_3,
ordering,
pp,
}:
buildDunePackage {
@@ -11,7 +12,10 @@ buildDunePackage {
dontAddPrefix = true;
propagatedBuildInputs = [ ordering ];
propagatedBuildInputs = [
ordering
pp
];
meta = dune_3.meta // {
description = "Dynamic type";
@@ -0,0 +1,12 @@
{ buildDunePackage, dune_3 }:
buildDunePackage {
pname = "fs-io";
inherit (dune_3) version src;
dontAddPrefix = true;
meta = dune_3.meta // {
description = "Dune's file system IO library";
};
}
@@ -11,11 +11,6 @@ buildDunePackage {
dontAddPrefix = true;
preBuild = ''
rm -rf vendor/csexp
rm -rf vendor/pp
'';
propagatedBuildInputs = [ dyn ];
meta = {
@@ -3,7 +3,10 @@
dune,
dyn,
ordering,
pp,
csexp,
fs-io,
top-closure,
}:
buildDunePackage {
@@ -15,13 +18,12 @@ buildDunePackage {
propagatedBuildInputs = [
dyn
ordering
pp
csexp
fs-io
top-closure
];
preBuild = ''
rm -r vendor/csexp
'';
meta = dune.meta // {
description = "Dune's unstable standard library";
};
@@ -0,0 +1,12 @@
{ buildDunePackage, dune_3 }:
buildDunePackage {
pname = "top-closure";
inherit (dune_3) version src;
dontAddPrefix = true;
meta = dune_3.meta // {
description = "Dune's topological closure library";
};
}
+4
View File
@@ -691,6 +691,8 @@ let
frontc = callPackage ../development/ocaml-modules/frontc { };
fs-io = callPackage ../development/ocaml-modules/fs-io { };
functory = callPackage ../development/ocaml-modules/functory { };
### G ###
@@ -2124,6 +2126,8 @@ let
toml = callPackage ../development/ocaml-modules/toml { };
top-closure = callPackage ../development/ocaml-modules/top-closure { };
topkg = callPackage ../development/ocaml-modules/topkg { };
trace = callPackage ../development/ocaml-modules/trace { };