various: migrate ocaml packages to finalAttrs #4 (#482768)

This commit is contained in:
StepBroBD
2026-05-13 08:52:15 +00:00
committed by GitHub
130 changed files with 452 additions and 452 deletions
@@ -11,12 +11,12 @@
uri,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "mirage-block-unix";
version = "2.14.2";
src = fetchurl {
url = "https://github.com/mirage/mirage-block-unix/releases/download/v${version}/mirage-block-unix-${version}.tbz";
url = "https://github.com/mirage/mirage-block-unix/releases/download/v${finalAttrs.version}/mirage-block-unix-${finalAttrs.version}.tbz";
sha256 = "sha256-6ReAzd+pCd5ccmXOh6GlSxHo4GuEgptxLha62n+dBsE=";
};
@@ -42,4 +42,4 @@ buildDunePackage rec {
homepage = "https://github.com/mirage/mirage-block-unix";
license = lib.licenses.isc;
};
}
})
@@ -7,14 +7,14 @@
fmt,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "mirage-block";
version = "3.0.2";
duneVersion = "3";
src = fetchurl {
url = "https://github.com/mirage/mirage-block/releases/download/v${version}/mirage-block-${version}.tbz";
url = "https://github.com/mirage/mirage-block/releases/download/v${finalAttrs.version}/mirage-block-${finalAttrs.version}.tbz";
hash = "sha256-UALUfeL0G1mfSsLgAb/HpQ6OV12YtY+GUOYG6yhUwAI=";
};
@@ -30,4 +30,4 @@ buildDunePackage rec {
license = lib.licenses.isc;
maintainers = with lib.maintainers; [ vbgl ];
};
}
})
@@ -7,7 +7,7 @@
lwt,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "mirage-bootvar-xen";
version = "0.8.0";
@@ -16,7 +16,7 @@ buildDunePackage rec {
duneVersion = "3";
src = fetchurl {
url = "https://github.com/mirage/mirage-bootvar-xen/releases/download/v${version}/mirage-bootvar-xen-v${version}.tbz";
url = "https://github.com/mirage/mirage-bootvar-xen/releases/download/v${finalAttrs.version}/mirage-bootvar-xen-v${finalAttrs.version}.tbz";
hash = "sha256:0nk80giq9ng3svbnm68fjby2f1dnarddm3lk7mw7w59av71q0rcv";
};
@@ -32,4 +32,4 @@ buildDunePackage rec {
maintainers = [ lib.maintainers.sternenseemann ];
homepage = "https://github.com/mirage/mirage-bootvar-xen";
};
}
})
@@ -4,14 +4,14 @@
fetchurl,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "mirage-clock";
version = "4.2.0";
minimalOCamlVersion = "4.06";
src = fetchurl {
url = "https://github.com/mirage/mirage-clock/releases/download/v${version}/mirage-clock-${version}.tbz";
url = "https://github.com/mirage/mirage-clock/releases/download/v${finalAttrs.version}/mirage-clock-${finalAttrs.version}.tbz";
hash = "sha256-+hfRXVviPHm6dB9ffLiO1xEt4WpEEM6oHHG5gIaImEc=";
};
@@ -21,4 +21,4 @@ buildDunePackage rec {
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}
})
@@ -6,7 +6,7 @@
mirage-flow,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "mirage-console";
version = "5.1.0";
@@ -14,7 +14,7 @@ buildDunePackage rec {
duneVersion = "3";
src = fetchurl {
url = "https://github.com/mirage/mirage-console/releases/download/v${version}/mirage-console-${version}.tbz";
url = "https://github.com/mirage/mirage-console/releases/download/v${finalAttrs.version}/mirage-console-${finalAttrs.version}.tbz";
hash = "sha256-mjYRisbNOJbYoSuWaGoPueXakmqAwmWh0ATvLLsvpNM=";
};
@@ -29,4 +29,4 @@ buildDunePackage rec {
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}
})
@@ -9,14 +9,14 @@
alcotest,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "mirage-kv";
version = "6.1.1";
minimalOCamlVersion = "4.08";
src = fetchurl {
url = "https://github.com/mirage/mirage-kv/releases/download/v${version}/mirage-kv-${version}.tbz";
url = "https://github.com/mirage/mirage-kv/releases/download/v${finalAttrs.version}/mirage-kv-${finalAttrs.version}.tbz";
hash = "sha256-fNXNlaDpb5zUA2rTwi5h1j4v4LQmovxG+Am6u+1guPQ=";
};
@@ -36,4 +36,4 @@ buildDunePackage rec {
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}
})
@@ -11,14 +11,14 @@
alcotest,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "mirage-logs";
version = "2.1.0";
duneVersion = "3";
src = fetchurl {
url = "https://github.com/mirage/mirage-logs/releases/download/v${version}/mirage-logs-${version}.tbz";
url = "https://github.com/mirage/mirage-logs/releases/download/v${finalAttrs.version}/mirage-logs-${finalAttrs.version}.tbz";
hash = "sha256-rorCsgw7QCQmjotr465KShQGWdoUM88djpwgqwBGnLs=";
};
@@ -42,4 +42,4 @@ buildDunePackage rec {
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}
})
@@ -12,14 +12,14 @@
mirage-clock-unix,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "mirage-nat";
version = "3.0.2";
minimalOCamlVersion = "4.08";
src = fetchurl {
url = "https://github.com/mirage/${pname}/releases/download/v${version}/${pname}-${version}.tbz";
url = "https://github.com/mirage/mirage-nat/releases/download/v${finalAttrs.version}/mirage-nat-${finalAttrs.version}.tbz";
hash = "sha256-Z1g3qb26x/S6asYv6roTW77r41SHy7OGN7MoZJ/E8Is=";
};
@@ -40,8 +40,8 @@ buildDunePackage rec {
meta = {
description = "Mirage-nat is a library for network address translation to be used with MirageOS";
homepage = "https://github.com/mirage/${pname}";
homepage = "https://github.com/mirage/mirage-nat";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.sternenseemann ];
};
}
})
@@ -9,14 +9,14 @@
mirage-device,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "mirage-net";
version = "4.0.0";
duneVersion = "3";
src = fetchurl {
url = "https://github.com/mirage/mirage-net/releases/download/v${version}/mirage-net-v${version}.tbz";
url = "https://github.com/mirage/mirage-net/releases/download/v${finalAttrs.version}/mirage-net-v${finalAttrs.version}.tbz";
hash = "sha256-Zo7/0Ye4GgqzJFCHDBXbuJ/5ETl/8ziolRgH4lDhlM4=";
};
@@ -34,4 +34,4 @@ buildDunePackage rec {
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}
})
@@ -8,14 +8,14 @@
lwt,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "mirage-profile";
version = "0.9.1";
duneVersion = "3";
src = fetchurl {
url = "https://github.com/mirage/mirage-profile/releases/download/v${version}/mirage-profile-v${version}.tbz";
url = "https://github.com/mirage/mirage-profile/releases/download/v${finalAttrs.version}/mirage-profile-v${finalAttrs.version}.tbz";
sha256 = "0lh3591ad4v7nxpd410b75idmgdq668mqdilvkg4avrwqw1wzdib";
};
@@ -32,4 +32,4 @@ buildDunePackage rec {
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ vbgl ];
};
}
})
@@ -8,14 +8,14 @@
tcpip,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "mirage-protocols";
version = "8.0.0";
duneVersion = "3";
src = fetchurl {
url = "https://github.com/mirage/mirage-protocols/releases/download/v${version}/mirage-protocols-v${version}.tbz";
url = "https://github.com/mirage/mirage-protocols/releases/download/v${finalAttrs.version}/mirage-protocols-v${finalAttrs.version}.tbz";
hash = "sha256-UDCR4Jq3tw9P/Ilw7T4+3+yi9Q7VFqnHhXeSCvg9dyw=";
};
@@ -32,4 +32,4 @@ buildDunePackage rec {
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}
})
@@ -6,7 +6,7 @@
mirage-random,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "mirage-random-test";
version = "0.1.0";
@@ -15,7 +15,7 @@ buildDunePackage rec {
duneVersion = "3";
src = fetchurl {
url = "https://github.com/mirage/${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
url = "https://github.com/mirage/mirage-random-test/releases/download/v${finalAttrs.version}/mirage-random-test-v${finalAttrs.version}.tbz";
sha256 = "1jmjyb9a4v7l0xxgdwpr9zshzr8xk3hybra6y2dp51anbwk8kv46";
};
@@ -30,4 +30,4 @@ buildDunePackage rec {
license = lib.licenses.isc;
maintainers = [ lib.maintainers.sternenseemann ];
};
}
})
@@ -5,14 +5,14 @@
cstruct,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "mirage-random";
version = "3.0.0";
duneVersion = "3";
src = fetchurl {
url = "https://github.com/mirage/mirage-random/releases/download/v${version}/mirage-random-v${version}.tbz";
url = "https://github.com/mirage/mirage-random/releases/download/v${finalAttrs.version}/mirage-random-v${finalAttrs.version}.tbz";
sha256 = "sha256-Sf4/KB1kMMwXI+yr5H/JuOmynYPNXwlk9dAA+gFAZs8=";
};
@@ -24,4 +24,4 @@ buildDunePackage rec {
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}
})
@@ -5,7 +5,7 @@
lwt,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
minimalOCamlVersion = "4.08";
pname = "mirage-time";
@@ -14,7 +14,7 @@ buildDunePackage rec {
duneVersion = "3";
src = fetchurl {
url = "https://github.com/mirage/mirage-time/releases/download/v${version}/mirage-time-v${version}.tbz";
url = "https://github.com/mirage/mirage-time/releases/download/v${finalAttrs.version}/mirage-time-v${finalAttrs.version}.tbz";
hash = "sha256-DUCUm1jix+i3YszIzgZjRQRiM8jJXQ49F6JC/yicvXw=";
};
@@ -26,4 +26,4 @@ buildDunePackage rec {
license = lib.licenses.isc;
maintainers = with lib.maintainers; [ sternenseemann ];
};
}
})
@@ -7,14 +7,14 @@
mirage-runtime,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "mirage-unix";
version = "5.0.1";
duneVersion = "3";
src = fetchurl {
url = "https://github.com/mirage/${pname}/releases/download/v${version}/${pname}-${version}.tbz";
url = "https://github.com/mirage/mirage-unix/releases/download/v${finalAttrs.version}/mirage-unix-${finalAttrs.version}.tbz";
hash = "sha256-U1oLznUDBcJLcVygfSiyl5qRLDM27cm/WrjT0vSGhPg=";
};
@@ -31,4 +31,4 @@ buildDunePackage rec {
license = lib.licenses.isc;
maintainers = with lib.maintainers; [ sternenseemann ];
};
}
})
@@ -11,14 +11,14 @@
logs,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "mirage-vnetif";
version = "0.6.2";
minimalOCamlVersion = "4.06";
src = fetchurl {
url = "https://github.com/mirage/${pname}/releases/download/v${version}/${pname}-${version}.tbz";
url = "https://github.com/mirage/mirage-vnetif/releases/download/v${finalAttrs.version}/mirage-vnetif-${finalAttrs.version}.tbz";
hash = "sha256-SorcrPRhhCYhHasLQGHvTtLo229/3xVB6f7/XOlFRSI=";
};
@@ -34,8 +34,8 @@ buildDunePackage rec {
meta = {
description = "Virtual network interface and software switch for Mirage";
homepage = "https://github.com/mirage/${pname}";
homepage = "https://github.com/mirage/mirage-vnetif";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.sternenseemann ];
};
}
})
@@ -16,12 +16,12 @@
io-page,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "mirage-xen";
version = "8.0.1";
src = fetchurl {
url = "https://github.com/mirage/mirage-xen/releases/download/v${version}/mirage-xen-${version}.tbz";
url = "https://github.com/mirage/mirage-xen/releases/download/v${finalAttrs.version}/mirage-xen-${finalAttrs.version}.tbz";
hash = "sha256-x8i2Kbz0EcifZK/lbDIFa9Kwtl1/xzbYV9h9E+EtGP4=";
};
@@ -49,4 +49,4 @@ buildDunePackage rec {
maintainers = [ lib.maintainers.sternenseemann ];
homepage = "https://github.com/mirage/mirage-xen";
};
}
})
@@ -28,7 +28,7 @@ let
});
uri' = uri.override { angstrom = angstrom'; };
in
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "mldoc";
version = "1.5.8";
@@ -39,7 +39,7 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "logseq";
repo = "mldoc";
rev = "v${version}";
rev = "v${finalAttrs.version}";
hash = "sha256-7uuNUFMSQEgakTKfpYixp43gnfpQSW++snBzgr0Ni0Y=";
};
@@ -67,4 +67,4 @@ buildDunePackage rec {
license = lib.licenses.agpl3Only;
maintainers = [ ];
};
}
})
@@ -10,7 +10,7 @@
theora,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "mm";
version = "0.8.6";
@@ -21,7 +21,7 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "savonet";
repo = "ocaml-mm";
rev = "v${version}";
rev = "v${finalAttrs.version}";
sha256 = "sha256-ME6Naza7OvZ/63zEjrPeKq5JwMoMfV2fpkCuZdtCZ/c=";
};
@@ -40,4 +40,4 @@ buildDunePackage rec {
license = lib.licenses.lgpl21Plus;
maintainers = with lib.maintainers; [ dandellion ];
};
}
})
@@ -5,12 +5,12 @@
bigarray-compat,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "mmap";
version = "1.2.0";
src = fetchurl {
url = "https://github.com/mirage/mmap/releases/download/v${version}/mmap-${version}.tbz";
url = "https://github.com/mirage/mmap/releases/download/v${finalAttrs.version}/mmap-${finalAttrs.version}.tbz";
hash = "sha256-FgKoq8jiMvqUdxpS5UDleAtAwvJ2Lu5q+9koZQIRbds=";
};
@@ -22,8 +22,8 @@ buildDunePackage rec {
longDescription = ''
This project provides a Mmap.map_file functions for mapping files in memory.
'';
changelog = "https://raw.githubusercontent.com/mirage/mmap/refs/tags/v${version}/CHANGES.md";
changelog = "https://raw.githubusercontent.com/mirage/mmap/refs/tags/v${finalAttrs.version}/CHANGES.md";
license = lib.licenses.lgpl21;
maintainers = [ lib.maintainers.vbgl ];
};
}
})
@@ -17,7 +17,7 @@
zarith,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "mopsa";
version = "1.1";
@@ -26,7 +26,7 @@ buildDunePackage rec {
src = fetchFromGitLab {
owner = "mopsa";
repo = "mopsa-analyzer";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-lO5dtGAl1dq8oJco/hPXrAbN05rKc62Zrci/8CLrQ0c=";
};
@@ -79,4 +79,4 @@ buildDunePackage rec {
maintainers = [ lib.maintainers.vbgl ];
};
}
})
@@ -24,12 +24,12 @@
uutf,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "mrmime";
version = "0.7.0";
src = fetchurl {
url = "https://github.com/mirage/mrmime/releases/download/v${version}/mrmime-${version}.tbz";
url = "https://github.com/mirage/mrmime/releases/download/v${finalAttrs.version}/mrmime-${finalAttrs.version}.tbz";
hash = "sha256-w23xtro9WgyLLwqdwfqLMN/ZDqwpvFcEvurbsqnsJLc=";
};
@@ -68,4 +68,4 @@ buildDunePackage rec {
maintainers = [ ];
mainProgram = "mrmime.generate";
};
}
})
@@ -7,14 +7,14 @@
mdx,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "msat";
version = "0.9.1";
src = fetchFromGitHub {
owner = "Gbury";
repo = "mSAT";
rev = "v${version}";
rev = "v${finalAttrs.version}";
hash = "sha256-ER7ZUejW+Zy3l2HIoFDYbR8iaKMvLZWaeWrOAAYXjG4=";
};
@@ -36,4 +36,4 @@ buildDunePackage rec {
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.vbgl ];
};
}
})
@@ -6,14 +6,14 @@
alcotest,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "msgpck";
version = "1.7";
src = fetchFromGitHub {
owner = "vbmithr";
repo = "ocaml-msgpck";
rev = "${version}";
rev = "${finalAttrs.version}";
hash = "sha256-gBHIiicmk/5KBkKzRKyV0ymEH8dGCZG8vfE0mtpcDCM=";
};
@@ -29,4 +29,4 @@ buildDunePackage rec {
homepage = "https://github.com/vbmithr/ocaml-msgpck";
maintainers = [ lib.maintainers.ulrikstrid ];
};
}
})
@@ -9,12 +9,12 @@
yojson,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "multicore-bench";
version = "0.1.7";
src = fetchurl {
url = "https://github.com/ocaml-multicore/multicore-bench/releases/download/${version}/multicore-bench-${version}.tbz";
url = "https://github.com/ocaml-multicore/multicore-bench/releases/download/${finalAttrs.version}/multicore-bench-${finalAttrs.version}.tbz";
hash = "sha256-vrp9yiuTwhijhYjeDKPFRGyh/5LeydKWJSyMLZRRXIM=";
};
@@ -32,4 +32,4 @@ buildDunePackage rec {
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}
})
@@ -8,12 +8,12 @@
js_of_ocaml,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "multicore-magic";
version = "2.3.2";
src = fetchurl {
url = "https://github.com/ocaml-multicore/multicore-magic/releases/download/${version}/multicore-magic-${version}.tbz";
url = "https://github.com/ocaml-multicore/multicore-magic/releases/download/${finalAttrs.version}/multicore-magic-${finalAttrs.version}.tbz";
hash = "sha256-jY1wqCOq4c4EMDgIQqqIHErIONJFyvJ+0P8ld1CHF18=";
};
@@ -34,4 +34,4 @@ buildDunePackage rec {
homepage = "https://github.com/ocaml-multicore/multicore-magic";
maintainers = [ lib.maintainers.vbgl ];
};
}
})
@@ -8,14 +8,14 @@
alcotest,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "multipart-form-data";
version = "0.3.0";
src = fetchFromGitHub {
owner = "cryptosense";
repo = pname;
rev = version;
repo = "multipart-form-data";
rev = finalAttrs.version;
hash = "sha256-3MYJDvVbPIv/JDiB9nKcLRFC5Qa0afyEfz7hk8MWRII=";
};
@@ -36,4 +36,4 @@ buildDunePackage rec {
license = lib.licenses.bsd2;
maintainers = [ lib.maintainers.vbgl ];
};
}
})
@@ -8,13 +8,13 @@
ounit2,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "mustache";
version = "3.3.0";
src = fetchFromGitHub {
owner = "rgrinberg";
repo = "ocaml-mustache";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-7rdp7nrjc25/Nuj/cf78qxS3Qy4ufaNcKjSnYh4Ri8U=";
};
@@ -31,6 +31,6 @@ buildDunePackage rec {
description = "Mustache logic-less templates in OCaml";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ];
inherit (src.meta) homepage;
inherit (finalAttrs.src.meta) homepage;
};
}
})
@@ -18,7 +18,7 @@
result,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "netchannel";
version = "2.1.3";
@@ -26,7 +26,7 @@ buildDunePackage rec {
duneVersion = "3";
src = fetchurl {
url = "https://github.com/mirage/mirage-net-xen/releases/download/v${version}/mirage-net-xen-${version}.tbz";
url = "https://github.com/mirage/mirage-net-xen/releases/download/v${finalAttrs.version}/mirage-net-xen-${finalAttrs.version}.tbz";
hash = "sha256-gOpzY4bn9L8wkbeViXy/XQmxKqqJfd99bcHQFitYFOE=";
};
@@ -56,4 +56,4 @@ buildDunePackage rec {
maintainers = [ lib.maintainers.sternenseemann ];
homepage = "https://github.com/mirage/mirage-net-xen";
};
}
})
@@ -5,7 +5,7 @@
stdio,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "nice_parser";
version = "1.0.0";
minimalOCamlVersion = "4.07";
@@ -13,7 +13,7 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "smolkaj";
repo = "nice-parser";
tag = version;
tag = finalAttrs.version;
hash = "sha256-h1rqdv19tUH3CsL3OLsTmKir7YCYt4PaW19ymotEvIY=";
};
@@ -22,9 +22,9 @@ buildDunePackage rec {
];
meta = {
inherit (src.meta) homepage;
inherit (finalAttrs.src.meta) homepage;
description = "Nice parsers without the boilerplate";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.tiferrei ];
};
}
})
@@ -8,14 +8,14 @@
lwt,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
version = "0.2.3";
pname = "notty";
minimalOCamlVersion = "4.08";
src = fetchurl {
url = "https://github.com/pqwy/notty/releases/download/v${version}/notty-${version}.tbz";
url = "https://github.com/pqwy/notty/releases/download/v${finalAttrs.version}/notty-${finalAttrs.version}.tbz";
sha256 = "sha256-dGWfsUBz20Q4mJiRqyTyS++Bqkl9rBbZpn+aHJwgCCQ=";
};
@@ -38,4 +38,4 @@ buildDunePackage rec {
license = lib.licenses.isc;
maintainers = with lib.maintainers; [ sternenseemann ];
};
}
})
@@ -6,7 +6,7 @@
camlzip,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "npy";
version = "0.0.9";
@@ -16,8 +16,8 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "LaurentMazare";
repo = "${pname}-ocaml";
rev = version;
repo = "npy-ocaml";
rev = finalAttrs.version;
hash = "sha256:1fryglkm20h6kdqjl55b7065b34bdg3g3p6j0jv33zvd1m5888m1";
};
@@ -27,9 +27,9 @@ buildDunePackage rec {
doCheck = true;
meta = {
inherit (src.meta) homepage;
inherit (finalAttrs.src.meta) homepage;
description = "OCaml implementation of the Npy format spec";
maintainers = [ lib.maintainers.bcdarwin ];
license = lib.licenses.asl20;
};
}
})
@@ -53,7 +53,7 @@ let
merlin-lib = merlin-lib_v;
in
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "ocaml-lsp-server";
inherit (lsp) version src preBuild;
@@ -63,18 +63,18 @@ buildDunePackage rec {
lsp
re
]
++ lib.optional (lib.versionAtLeast version "1.9") spawn
++ lib.optionals (lib.versionAtLeast version "1.10") [
++ lib.optional (lib.versionAtLeast finalAttrs.version "1.9") spawn
++ lib.optionals (lib.versionAtLeast finalAttrs.version "1.10") [
fiber
xdg
]
++ lib.optional (lib.versionAtLeast version "1.14.2") ocamlc-loc
++ lib.optionals (lib.versionAtLeast version "1.17.0") [
++ lib.optional (lib.versionAtLeast finalAttrs.version "1.14.2") ocamlc-loc
++ lib.optionals (lib.versionAtLeast finalAttrs.version "1.17.0") [
astring
camlp-streams
merlin-lib
]
++ lib.optional (lib.versionAtLeast version "1.18.0") base;
++ lib.optional (lib.versionAtLeast finalAttrs.version "1.18.0") base;
nativeBuildInputs = [ makeWrapper ];
@@ -87,4 +87,4 @@ buildDunePackage rec {
mainProgram = "ocamllsp";
broken = lib.versions.majorMinor ocaml.version == "4.13";
};
}
})
@@ -7,14 +7,14 @@
ppx_derivers,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "ocaml-migrate-parsetree";
version = "1.8.0";
src = fetchFromGitHub {
owner = "ocaml-ppx";
repo = pname;
rev = "v${version}";
repo = "ocaml-migrate-parsetree";
rev = "v${finalAttrs.version}";
sha256 = "16x8sxc4ygxrr1868qpzfqyrvjf3hfxvjzmxmf6ibgglq7ixa2nq";
};
@@ -27,7 +27,7 @@ buildDunePackage rec {
description = "Convert OCaml parsetrees between different major versions";
license = lib.licenses.lgpl21;
maintainers = [ lib.maintainers.vbgl ];
inherit (src.meta) homepage;
inherit (finalAttrs.src.meta) homepage;
broken = lib.versionOlder "4.13" ocaml.version;
};
}
})
@@ -5,14 +5,14 @@
ocaml,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "ocaml-migrate-parsetree";
version = "2.4.0";
minimalOCamlVersion = "4.02";
src = fetchurl {
url = "https://github.com/ocaml-ppx/${pname}/releases/download/${version}/${pname}-${version}.tbz";
url = "https://github.com/ocaml-ppx/ocaml-migrate-parsetree/releases/download/${finalAttrs.version}/ocaml-migrate-parsetree-${finalAttrs.version}.tbz";
sha256 = "sha256-7EnEUtwzemIFVqtoK/AZi/UBglULUC2PsjClkSYKpqQ=";
};
@@ -26,4 +26,4 @@ buildDunePackage rec {
homepage = "https://github.com/ocaml-ppx/ocaml-migrate-parsetree";
broken = lib.versionAtLeast ocaml.version "5.1";
};
}
})
@@ -5,7 +5,7 @@
ppxlib,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "ocaml-monadic";
version = "0.5.0";
@@ -13,17 +13,17 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "zepalmer";
repo = pname;
rev = version;
repo = "ocaml-monadic";
rev = finalAttrs.version;
sha256 = "1ynv3yhdqmkhkgnz6c5kv6ryjcc934sdvw9rhh8rjg2dlzlffgbw";
};
buildInputs = [ ppxlib ];
meta = {
inherit (src.meta) homepage;
inherit (finalAttrs.src.meta) homepage;
description = "PPX extension to provide an OCaml-friendly monadic syntax";
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.vbgl ];
};
}
})
@@ -12,14 +12,14 @@
ppx_expect,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "ocaml-protoc-plugin";
version = "4.5.0";
src = fetchFromGitHub {
owner = "issuu";
repo = "ocaml-protoc-plugin";
rev = version;
rev = finalAttrs.version;
hash = "sha256-ZHeOi3y2X11MmkRuthmYFSjPLoGlGTO1pnRfk/XmgPU=";
};
@@ -51,4 +51,4 @@ buildDunePackage rec {
'';
maintainers = [ lib.maintainers.GirardR1006 ];
};
}
})
@@ -10,7 +10,7 @@
alcotest,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "ocaml-r";
version = "0.6.0";
@@ -20,8 +20,8 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "pveber";
repo = pname;
rev = "v${version}";
repo = "ocaml-r";
rev = "v${finalAttrs.version}";
sha256 = "sha256-jPyVMxjeh9+xu0dD1gelAxcOhxouKczyvzVoKZ5oSrs=";
};
@@ -48,9 +48,9 @@ buildDunePackage rec {
meta = {
description = "OCaml bindings for the R interpreter";
inherit (src.meta) homepage;
inherit (finalAttrs.src.meta) homepage;
license = lib.licenses.gpl3;
maintainers = [ lib.maintainers.bcdarwin ];
};
}
})
@@ -4,12 +4,12 @@
fetchurl,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "result";
version = "1.5";
src = fetchurl {
url = "https://github.com/janestreet/result/releases/download/${version}/result-${version}.tbz";
url = "https://github.com/janestreet/result/releases/download/${finalAttrs.version}/result-${finalAttrs.version}.tbz";
sha256 = "0cpfp35fdwnv3p30a06wd0py3805qxmq3jmcynjc3x2qhlimwfkw";
};
@@ -23,4 +23,4 @@ buildDunePackage rec {
'';
license = lib.licenses.bsd3;
};
}
})
@@ -5,12 +5,12 @@
alcotest,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "ocaml-version";
version = "4.1.0";
src = fetchurl {
url = "https://github.com/ocurrent/ocaml-version/releases/download/v${version}/ocaml-version-${version}.tbz";
url = "https://github.com/ocurrent/ocaml-version/releases/download/v${finalAttrs.version}/ocaml-version-${finalAttrs.version}.tbz";
hash = "sha256-QTfVH6kNu4SkjAylM3ySyIkOYAXQFrffSFkZ2FojjgY=";
};
@@ -27,4 +27,4 @@ buildDunePackage rec {
license = lib.licenses.isc;
maintainers = with lib.maintainers; [ vbgl ];
};
}
})
@@ -7,14 +7,14 @@
dune-configurator,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "ocamlfuse";
version = "2.7.1_cvs13";
src = fetchFromGitHub {
owner = "astrada";
repo = "ocamlfuse";
rev = "v${version}";
rev = "v${finalAttrs.version}";
hash = "sha256-h1ExohTlr1gP2DwHKQW3PTwz6d3pust5gdeyTHJ2KBk=";
};
@@ -37,4 +37,4 @@ buildDunePackage rec {
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ bennofs ];
};
}
})
@@ -4,12 +4,12 @@
buildDunePackage,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "ocamlgraph";
version = "2.2.0";
src = fetchurl {
url = "https://github.com/backtracking/ocamlgraph/releases/download/${version}/ocamlgraph-${version}.tbz";
url = "https://github.com/backtracking/ocamlgraph/releases/download/${finalAttrs.version}/ocamlgraph-${finalAttrs.version}.tbz";
hash = "sha256-sJViEIY8wk9IAgO6PC7wbfrlV5U2oFdENk595YgisjA=";
};
@@ -21,4 +21,4 @@ buildDunePackage rec {
license = lib.licenses.lgpl21Only;
maintainers = [ ];
};
}
})
@@ -5,13 +5,13 @@
lib,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "ocamline";
version = "1.2";
src = fetchFromGitHub {
owner = "chrisnevers";
repo = pname;
rev = version;
repo = "ocamline";
rev = finalAttrs.version;
sha256 = "Sljm/Bfr2Eo0d75tmJRuWUkkfHUYQ0g27+FzXBePnVg=";
};
@@ -23,4 +23,4 @@ buildDunePackage rec {
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ mgttlinger ];
};
}
})
@@ -5,7 +5,7 @@
cppo,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "ocolor";
version = "1.3.1";
@@ -13,8 +13,8 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "marc-chevalier";
repo = pname;
tag = version;
repo = "ocolor";
tag = finalAttrs.version;
sha256 = "osQTZGJp9yDoKNa6WoyhViNbRg1ukcD0Jxiu4VxqeUc=";
};
@@ -28,4 +28,4 @@ buildDunePackage rec {
maintainers = with lib.maintainers; [ toastal ];
homepage = "https://github.com/marc-chevalier/ocolor";
};
}
})
@@ -6,14 +6,14 @@
cppo,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
version = "1.2";
pname = "ocplib-endian";
src = fetchFromGitHub {
owner = "OCamlPro";
repo = "ocplib-endian";
rev = version;
rev = finalAttrs.version;
sha256 = "sha256-THTlhOfXAPaqTt1qBkht+D67bw6M175QLvXoUMgjks4=";
};
@@ -33,4 +33,4 @@ buildDunePackage rec {
license = lib.licenses.lgpl21;
maintainers = with lib.maintainers; [ vbgl ];
};
}
})
@@ -7,14 +7,14 @@
zarith,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "ocplib-simplex";
version = "0.5.1";
src = fetchFromGitHub {
owner = "OCamlPro";
repo = pname;
rev = "v${version}";
repo = "ocplib-simplex";
rev = "v${finalAttrs.version}";
hash = "sha256-fLTht+TlyJIsIAsRLmmkFKsnbSeW3BgyAyURFdnGfko=";
};
@@ -40,4 +40,4 @@ buildDunePackage rec {
license = lib.licenses.lgpl21Only;
maintainers = [ lib.maintainers.vbgl ];
};
}
})
@@ -4,14 +4,14 @@
buildDunePackage,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "octavius";
version = "1.2.2";
src = fetchFromGitHub {
owner = "ocaml-doc";
repo = "octavius";
rev = "v${version}";
rev = "v${finalAttrs.version}";
sha256 = "sha256-/S6WpIo1c5J9uM3xgtAM/elhnsl0XimnIFsKy3ootbA=";
};
@@ -25,4 +25,4 @@ buildDunePackage rec {
license = lib.licenses.isc;
maintainers = with lib.maintainers; [ vbgl ];
};
}
})
@@ -5,7 +5,7 @@
menhir,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "odate";
version = "0.7";
@@ -13,8 +13,8 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "hhugo";
repo = pname;
rev = version;
repo = "odate";
rev = finalAttrs.version;
sha256 = "sha256-C11HpftrYOCVyWT31wrqo8FVZuP7mRUkRv5IDeAZ+To=";
};
@@ -22,9 +22,9 @@ buildDunePackage rec {
meta = {
description = "Date and duration in OCaml";
inherit (src.meta) homepage;
inherit (finalAttrs.src.meta) homepage;
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ];
};
}
})
@@ -5,7 +5,7 @@
menhir,
cmdliner,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "odds";
version = "1.2";
@@ -13,8 +13,8 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "raphael-proust";
repo = pname;
tag = version;
repo = "odds";
tag = finalAttrs.version;
hash = "sha256-tPDowkpsJQKCoeuXOb9zPORoudUvkRBZ3OzkH2QE2zg=";
};
@@ -32,4 +32,4 @@ buildDunePackage rec {
license = lib.licenses.isc;
maintainers = [ lib.maintainers.Denommus ];
};
}
})
@@ -6,14 +6,14 @@
libogg,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "ogg";
version = "1.0.0";
src = fetchFromGitHub {
owner = "savonet";
repo = "ocaml-xiph";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-mVMuPPjQRfwtQqpoUaEtTilMcGO0MJ4xiOd0D7ucOEQ=";
};
@@ -28,4 +28,4 @@ buildDunePackage rec {
license = lib.licenses.lgpl21Only;
maintainers = with lib.maintainers; [ dandellion ];
};
}
})
@@ -5,12 +5,12 @@
alcotest,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "ohex";
version = "0.2.0";
src = fetchurl {
url = "https://github.com/ocaml/opam-source-archives/raw/main/ohex-${version}.tar.gz";
url = "https://github.com/ocaml/opam-source-archives/raw/main/ohex-${finalAttrs.version}.tar.gz";
hash = "sha256-prV7rbo0sAx3S2t4YtjniJEVq43uLXK8ZMsqoMzn2Ow=";
};
@@ -22,4 +22,4 @@ buildDunePackage rec {
license = lib.licenses.bsd2;
maintainers = [ lib.maintainers.vbgl ];
};
}
})
@@ -7,12 +7,12 @@
junit_alcotest,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "oidc";
version = "0.2.0";
src = fetchurl {
url = "https://github.com/ulrikstrid/ocaml-oidc/releases/download/v${version}/${pname}-v${version}.tbz";
url = "https://github.com/ulrikstrid/ocaml-oidc/releases/download/v${finalAttrs.version}/oidc-v${finalAttrs.version}.tbz";
hash = "sha256-NE/OW5BesVWhYfTmh3jP+A0TGML7m/Nw+tnafjMCIFo=";
};
@@ -36,4 +36,4 @@ buildDunePackage rec {
marijanp
];
};
}
})
@@ -4,14 +4,14 @@
fetchurl,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "omd";
version = "1.3.2";
minimalOCamlVersion = "4.03";
src = fetchurl {
url = "https://github.com/ocaml/omd/releases/download/${version}/omd-${version}.tbz";
url = "https://github.com/ocaml/omd/releases/download/${finalAttrs.version}/omd-${finalAttrs.version}.tbz";
sha256 = "sha256-YCPhZCYx8I9njrVyWCCHnte7Wj/+53fN7evCjB+F+ts=";
};
@@ -26,4 +26,4 @@ buildDunePackage rec {
maintainers = [ lib.maintainers.vbgl ];
mainProgram = "omd";
};
}
})
@@ -4,12 +4,12 @@
fetchurl,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
minimalOCamlVersion = "4.07";
version = "0.3.0";
pname = "optint";
src = fetchurl {
url = "https://github.com/mirage/optint/releases/download/v${version}/optint-${version}.tbz";
url = "https://github.com/mirage/optint/releases/download/v${finalAttrs.version}/optint-${finalAttrs.version}.tbz";
sha256 = "sha256-KVz/LBNLA4WxO6gdUAXZ+EG6QNSlAq7RDJl/I57xFHs=";
};
@@ -19,4 +19,4 @@ buildDunePackage rec {
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ];
};
}
})
@@ -6,14 +6,14 @@
qcheck,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
version = "0.5.1";
pname = "oseq";
src = fetchFromGitHub {
owner = "c-cube";
repo = pname;
rev = "v${version}";
repo = "oseq";
rev = "v${finalAttrs.version}";
hash = "sha256-fyr/OKlvvHBfovtdubSW4rd4OwQbMLKWXghyU3uBy/k=";
};
@@ -32,4 +32,4 @@ buildDunePackage rec {
license = lib.licenses.bsd2;
maintainers = [ lib.maintainers.vbgl ];
};
}
})
@@ -9,7 +9,7 @@
alcotest,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "otfed";
version = "0.3.1";
@@ -17,8 +17,8 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "gfngfn";
repo = pname;
rev = version;
repo = "otfed";
rev = finalAttrs.version;
hash = "sha256-6QCom9nrz0B5vCmuBzqsM0zCs8tBLJC6peig+vCgMVA=";
};
@@ -44,4 +44,4 @@ buildDunePackage rec {
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ];
};
}
})
@@ -10,14 +10,14 @@
base64,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "otr";
version = "1.0.0";
minimalOCamlVersion = "4.13";
src = fetchurl {
url = "https://github.com/hannesm/ocaml-otr/releases/download/v${version}/otr-${version}.tbz";
url = "https://github.com/hannesm/ocaml-otr/releases/download/v${finalAttrs.version}/otr-${finalAttrs.version}.tbz";
hash = "sha256-/CcVqLbdylB+LqpKNETkpvQ8SEAIcEFCO1MZqvdmJWU=";
};
@@ -38,4 +38,4 @@ buildDunePackage rec {
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ sternenseemann ];
};
}
})
@@ -6,14 +6,14 @@
stdlib-shims,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
minimalOCamlVersion = "4.08";
pname = "ounit2";
version = "2.2.7";
src = fetchurl {
url = "https://github.com/gildor478/ounit/releases/download/v${version}/ounit-${version}.tbz";
url = "https://github.com/gildor478/ounit/releases/download/v${finalAttrs.version}/ounit-${finalAttrs.version}.tbz";
hash = "sha256-kPbmO9EkClHYubL3IgWb15zgC1J2vdYji49cYTwOc4g=";
};
@@ -30,4 +30,4 @@ buildDunePackage rec {
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sternenseemann ];
};
}
})
@@ -4,13 +4,13 @@
fetchurl,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
minimalOCamlVersion = "4.08";
pname = "owee";
version = "0.8";
src = fetchurl {
url = "https://github.com/let-def/owee/releases/download/v${version}/owee-${version}.tbz";
url = "https://github.com/let-def/owee/releases/download/v${finalAttrs.version}/owee-${finalAttrs.version}.tbz";
hash = "sha256-Bk9iRfWZXV0vTx+cbSmS4v2+Pd4ygha67Hz6vUhXlA0=";
};
@@ -23,4 +23,4 @@ buildDunePackage rec {
alizter
];
};
}
})
@@ -21,12 +21,12 @@
cstruct,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "paf";
version = "0.8.0";
src = fetchurl {
url = "https://github.com/dinosaure/paf-le-chien/releases/download/${version}/paf-${version}.tbz";
url = "https://github.com/dinosaure/paf-le-chien/releases/download/${finalAttrs.version}/paf-${finalAttrs.version}.tbz";
hash = "sha256-0q07gZpzUyDoWlA4m/P+EGSvvVKAZ7RwVkpOziqzG2M=";
};
@@ -64,4 +64,4 @@ buildDunePackage rec {
maintainers = [ lib.maintainers.sternenseemann ];
homepage = "https://github.com/dinosaure/paf-le-chien";
};
}
})
@@ -5,7 +5,7 @@
cpu,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "parany";
version = "14.0.1";
@@ -13,8 +13,8 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "UnixJunkie";
repo = pname;
rev = "v${version}";
repo = "parany";
rev = "v${finalAttrs.version}";
hash = "sha256-QR3Rq30iKhft+9tVCgJLOq9bwJe7bcay/kMTXjjCLjE=";
};
@@ -26,4 +26,4 @@ buildDunePackage rec {
maintainers = [ lib.maintainers.bcdarwin ];
license = lib.licenses.lgpl2;
};
}
})
@@ -5,14 +5,14 @@
dune-configurator,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "parmap";
version = "1.2.5";
src = fetchFromGitHub {
owner = "rdicosmo";
repo = pname;
rev = version;
repo = "parmap";
rev = finalAttrs.version;
hash = "sha256-tBu7TGtDOe5FbxLZuz6nl+65aN9FHIngq/O4dJWzr3Q=";
};
@@ -31,4 +31,4 @@ buildDunePackage rec {
license = lib.licenses.lgpl2;
maintainers = with lib.maintainers; [ bcdarwin ];
};
}
})
@@ -7,14 +7,14 @@
ounit,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "parse-argv";
version = "0.2.0";
minimalOCamlVersion = "4.03";
src = fetchurl {
url = "https://github.com/mirage/parse-argv/releases/download/v${version}/parse-argv-v${version}.tbz";
url = "https://github.com/mirage/parse-argv/releases/download/v${finalAttrs.version}/parse-argv-v${finalAttrs.version}.tbz";
sha256 = "06dl04fcmwpkydzni2fzwrhk0bqypd55mgxfax9v82x65xrgj5gw";
};
@@ -29,4 +29,4 @@ buildDunePackage rec {
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}
})
@@ -7,7 +7,7 @@
crowbar,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "patch";
version = "3.0.0";
@@ -16,7 +16,7 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "hannesm";
repo = "patch";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-WIleUxfGp8cvQHYAyRRI6S/MSP4u0BbEyAqlRxCb/To=";
};
@@ -36,4 +36,4 @@ buildDunePackage rec {
maintainers = with lib.maintainers; [ r17x ];
license = lib.licenses.isc;
};
}
})
@@ -9,7 +9,7 @@
ppx_inline_test,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "patricia-tree";
version = "0.11.0";
@@ -23,7 +23,7 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "codex-semantics-library";
repo = "patricia-tree";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-lpmU0KhsyIHxPBiw38ssA7XFEMsRvOT03MByoJG88Xs=";
};
@@ -43,8 +43,8 @@ buildDunePackage rec {
description = "Patricia Tree data structure in OCaml";
homepage = "https://codex.top/api/patricia-tree/";
downloadPage = "https://github.com/codex-semantics-library/patricia-tree";
changelog = "https://github.com/codex-semantics-library/patricia-tree/releases/tag/v${version}";
changelog = "https://github.com/codex-semantics-library/patricia-tree/releases/tag/v${finalAttrs.version}";
license = lib.licenses.lgpl21Only;
maintainers = [ lib.maintainers.ethancedwards8 ];
};
}
})
@@ -8,12 +8,12 @@
ohex,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "pbkdf";
version = "2.0.0";
src = fetchzip {
url = "https://github.com/abeaumont/ocaml-pbkdf/archive/${version}.tar.gz";
url = "https://github.com/abeaumont/ocaml-pbkdf/archive/${finalAttrs.version}.tar.gz";
hash = "sha256-D2dXpf1D/wsJrcajU3If37tuLYjahoA/+QoXZKr1vQs=";
};
@@ -34,4 +34,4 @@ buildDunePackage rec {
license = lib.licenses.bsd2;
homepage = "https://github.com/abeaumont/ocaml-pbkdf";
};
}
})
@@ -4,7 +4,7 @@
buildDunePackage,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "pbrt";
version = "2.4";
@@ -13,7 +13,7 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "mransan";
repo = "ocaml-protoc";
rev = "${version}.0";
rev = "${finalAttrs.version}.0";
hash = "sha256-EXugdcjALukSjB31zAVG9WiN6GMGXi2jlhHWaZ+p+uM=";
};
@@ -23,4 +23,4 @@ buildDunePackage rec {
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vyorkin ];
};
}
})
@@ -7,7 +7,7 @@
ounit,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "pcap-format";
version = "0.6.0";
@@ -15,7 +15,7 @@ buildDunePackage rec {
duneVersion = "3";
src = fetchurl {
url = "https://github.com/mirage/ocaml-pcap/releases/download/v${version}/${pname}-${version}.tbz";
url = "https://github.com/mirage/ocaml-pcap/releases/download/v${finalAttrs.version}/pcap-format-${finalAttrs.version}.tbz";
hash = "sha256-LUjy8Xm6VsnMq1FHKzmJg7uorkTv7cOTsoLwmtNHkaY=";
};
@@ -38,4 +38,4 @@ buildDunePackage rec {
license = lib.licenses.isc;
maintainers = [ lib.maintainers.sternenseemann ];
};
}
})
@@ -9,14 +9,14 @@
astring,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "pecu";
version = "0.7";
minimalOCamlVersion = "4.03";
src = fetchurl {
url = "https://github.com/mirage/pecu/releases/download/v${version}/pecu-${version}.tbz";
url = "https://github.com/mirage/pecu/releases/download/v${finalAttrs.version}/pecu-${finalAttrs.version}.tbz";
hash = "sha256-rXR3tbFkKNM8MkQAZ2hJU9lO+qQ/qvYghXkYus6f13g=";
};
@@ -35,4 +35,4 @@ buildDunePackage rec {
homepage = "https://github.com/mirage/pecu";
maintainers = [ lib.maintainers.sternenseemann ];
};
}
})
@@ -13,13 +13,13 @@
sexplib,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "pgocaml";
version = "4.4.0";
src = fetchFromGitHub {
owner = "darioteixeira";
repo = "pgocaml";
rev = "v${version}";
rev = "v${finalAttrs.version}";
hash = "sha256-Mz3zVgXas1UivH/BVARx5kWClgr9v9YcGarwaD961tU=";
};
@@ -43,4 +43,4 @@ buildDunePackage rec {
license = lib.licenses.lgpl2Only;
maintainers = with lib.maintainers; [ vbgl ];
};
}
})
@@ -14,12 +14,12 @@
printbox-text,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "phylogenetics";
version = "0.3.0";
src = fetchurl {
url = "https://github.com/biocaml/phylogenetics/releases/download/v${version}/phylogenetics-${version}.tbz";
url = "https://github.com/biocaml/phylogenetics/releases/download/v${finalAttrs.version}/phylogenetics-${finalAttrs.version}.tbz";
hash = "sha256-3oZ9fMAXqOQ02rQ+8W8PZJWXOJLNe2qERrGOeTk3BKg=";
};
@@ -52,4 +52,4 @@ buildDunePackage rec {
maintainers = [ lib.maintainers.bcdarwin ];
mainProgram = "phylosim";
};
}
})
@@ -21,12 +21,12 @@
eio_main,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "piaf";
version = "0.2.0";
src = fetchurl {
url = "https://github.com/anmonteiro/piaf/releases/download/${version}/piaf-${version}.tbz";
url = "https://github.com/anmonteiro/piaf/releases/download/${finalAttrs.version}/piaf-${finalAttrs.version}.tbz";
hash = "sha256-B/qQCaUvrqrm2GEW51AH9SebGFx7x8laq5RV8hBzcPs=";
};
@@ -60,4 +60,4 @@ buildDunePackage rec {
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ anmonteiro ];
};
}
})
@@ -6,7 +6,7 @@
ff-sig,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "polynomial";
version = "0.4.0";
duneVersion = "3";
@@ -14,7 +14,7 @@ buildDunePackage rec {
src = fetchFromGitLab {
owner = "nomadic-labs";
repo = "cryptography/ocaml-polynomial";
rev = version;
rev = finalAttrs.version;
hash = "sha256-is/PrYLCwStHiQsNq5OVRCwHdXjO2K2Z7FrXgytRfAU=";
};
@@ -31,4 +31,4 @@ buildDunePackage rec {
homepage = "https://gitlab.com/nomadic-labs/ocaml-polynomial";
maintainers = [ lib.maintainers.ulrikstrid ];
};
}
})
@@ -6,14 +6,14 @@
portaudio,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "portaudio";
version = "0.2.3";
src = fetchFromGitHub {
owner = "savonet";
repo = "ocaml-portaudio";
rev = "v${version}";
rev = "v${finalAttrs.version}";
sha256 = "sha256-rMSE+ta7ughjjCnz4oho1D3VGaAsUlLtxizvxZT0/cQ=";
};
@@ -26,4 +26,4 @@ buildDunePackage rec {
license = lib.licenses.lgpl21Only;
maintainers = with lib.maintainers; [ dandellion ];
};
}
})
@@ -7,14 +7,14 @@
libpq,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "postgresql";
version = "5.2.0";
minimalOCamlVersion = "4.12";
src = fetchurl {
url = "https://github.com/mmottl/postgresql-ocaml/releases/download/${version}/postgresql-${version}.tbz";
url = "https://github.com/mmottl/postgresql-ocaml/releases/download/${finalAttrs.version}/postgresql-${finalAttrs.version}.tbz";
hash = "sha256-uU/K7hvQljGnUzClPRdod32tpVAGd/sGqh3NqIygJ4A=";
};
@@ -25,8 +25,8 @@ buildDunePackage rec {
meta = {
description = "Bindings to the PostgreSQL library";
license = lib.licenses.lgpl21Plus;
changelog = "https://raw.githubusercontent.com/mmottl/postgresql-ocaml/refs/tags/${version}/CHANGELOG.md";
changelog = "https://raw.githubusercontent.com/mmottl/postgresql-ocaml/refs/tags/${finalAttrs.version}/CHANGELOG.md";
maintainers = with lib.maintainers; [ bcc32 ];
homepage = "https://mmottl.github.io/postgresql-ocaml";
};
}
})
@@ -6,18 +6,18 @@
version ? "2.0.0",
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "pp";
inherit version;
src = fetchurl {
url = "https://github.com/ocaml-dune/pp/releases/download/${version}/pp-${version}.tbz";
url = "https://github.com/ocaml-dune/pp/releases/download/${finalAttrs.version}/pp-${finalAttrs.version}.tbz";
hash =
{
"2.0.0" = "sha256-hlE1FRiwkrSi3vTggXHCdhUvkvtqhKixm2uSnM20RBk=";
"1.2.0" = "sha256-pegiVzxVr7Qtsp7FbqzR8qzY9lzy3yh44pHeN0zmkJw=";
}
."${version}";
."${finalAttrs.version}";
};
minimalOCamlVersion = "4.08";
@@ -31,4 +31,4 @@ buildDunePackage rec {
platforms = lib.platforms.unix;
maintainers = [ ];
};
}
})
@@ -4,14 +4,14 @@
buildDunePackage,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "pp_loc";
version = "2.1.0";
minimalOCamlVersion = "4.08";
src = fetchurl {
url = "https://github.com/Armael/pp_loc/releases/download/v${version}/pp_loc-${version}.tbz";
url = "https://github.com/Armael/pp_loc/releases/download/v${finalAttrs.version}/pp_loc-${finalAttrs.version}.tbz";
hash = "sha256-L3NlBdQx6BpP6FGtMQ/ynsTNIMj9N+8FDZ5vEFC6p8s=";
};
@@ -23,4 +23,4 @@ buildDunePackage rec {
maintainers = [ lib.maintainers.vbgl ];
homepage = "https://armael.github.io/pp_loc/pp_loc/";
};
}
})
@@ -4,7 +4,7 @@
buildDunePackage,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "pprint";
version = "20230830";
@@ -12,15 +12,15 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "fpottier";
repo = pname;
rev = version;
repo = "pprint";
rev = finalAttrs.version;
sha256 = "sha256-avf71vAgCL1MU8O7Q3FNN3wEdCDtbNZP0ipETnn8AqA=";
};
meta = {
inherit (src.meta) homepage;
inherit (finalAttrs.src.meta) homepage;
description = "OCaml library for pretty-printing textual documents";
license = lib.licenses.lgpl2Only;
maintainers = [ lib.maintainers.vbgl ];
};
}
})
@@ -16,7 +16,7 @@
ppx_sexp_value ? null,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "ppx_bap";
version = "0.14";
@@ -24,8 +24,8 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "BinaryAnalysisPlatform";
repo = pname;
rev = "v${version}";
repo = "ppx_bap";
rev = "v${finalAttrs.version}";
sha256 = "1c6rcdp8bicdiwqc2mb59cl9l2vxlp3y8hmnr9x924fq7acly248";
};
@@ -54,9 +54,9 @@ buildDunePackage rec {
meta = {
description = "Set of ppx rewriters for BAP";
inherit (src.meta) homepage;
inherit (finalAttrs.src.meta) homepage;
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ];
mainProgram = "ppx-bap";
};
}
})
@@ -7,14 +7,14 @@
ppxlib,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "ppx_blob";
version = "0.9.0";
minimalOCamlVersion = "4.08";
src = fetchurl {
url = "https://github.com/johnwhitington/${pname}/releases/download/${version}/ppx_blob-${version}.tbz";
url = "https://github.com/johnwhitington/ppx_blob/releases/download/${finalAttrs.version}/ppx_blob-${finalAttrs.version}.tbz";
sha256 = "sha256-8RXpCl8Qdc7cnZMKuRJx+GcOzk3uENwRR6s5uK+1cOQ=";
};
@@ -27,4 +27,4 @@ buildDunePackage rec {
description = "OCaml ppx to include binary data from a file as a string";
license = lib.licenses.unlicense;
};
}
})
@@ -14,7 +14,7 @@
findlib,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "ppx_cstubs";
version = "0.7.0";
@@ -32,7 +32,7 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "fdopen";
repo = "ppx_cstubs";
rev = version;
rev = finalAttrs.version;
hash = "sha256-qMmwRWCIfNyhCQYPKLiufnb57sTR3P+WInOqtPDywFs=";
};
@@ -56,10 +56,10 @@ buildDunePackage rec {
meta = {
homepage = "https://github.com/fdopen/ppx_cstubs";
changelog = "https://github.com/fdopen/ppx_cstubs/raw/${version}/CHANGES.md";
changelog = "https://github.com/fdopen/ppx_cstubs/raw/${finalAttrs.version}/CHANGES.md";
description = "Preprocessor for easier stub generation with ocaml-ctypes";
license = lib.licenses.lgpl21Plus;
maintainers = [ lib.maintainers.osener ];
broken = lib.versionAtLeast ocaml.version "5.2";
};
}
})
@@ -4,7 +4,7 @@
buildDunePackage,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "ppx_derivers";
version = "1.2.1";
@@ -12,8 +12,8 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "diml";
repo = pname;
rev = version;
repo = "ppx_derivers";
rev = finalAttrs.version;
sha256 = "0yqvqw58hbx1a61wcpbnl9j30n495k23qmyy2xwczqs63mn2nkpn";
};
@@ -21,6 +21,6 @@ buildDunePackage rec {
description = "Shared [@@deriving] plugin registry";
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.vbgl ];
inherit (src.meta) homepage;
inherit (finalAttrs.src.meta) homepage;
};
}
})
@@ -36,12 +36,12 @@ let
."${version}";
in
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "ppx_deriving";
inherit version;
src = fetchurl {
url = "https://github.com/ocaml-ppx/ppx_deriving/releases/download/v${version}/ppx_deriving-${lib.optionalString (lib.versionOlder version "6.0") "v"}${version}.${
url = "https://github.com/ocaml-ppx/ppx_deriving/releases/download/v${finalAttrs.version}/ppx_deriving-${lib.optionalString (lib.versionOlder version "6.0") "v"}${finalAttrs.version}.${
if lib.versionAtLeast version "6.1.1" then "tar.gz" else "tbz"
}";
inherit hash;
@@ -71,4 +71,4 @@ buildDunePackage rec {
maintainers = [ lib.maintainers.maurer ];
license = lib.licenses.mit;
};
}
})
@@ -11,7 +11,7 @@
gitUpdater,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "ppx_deriving_cmdliner";
version = "0.6.1";
@@ -19,8 +19,8 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "hammerlab";
repo = pname;
rev = "v${version}";
repo = "ppx_deriving_cmdliner";
rev = "v${finalAttrs.version}";
sha256 = "sha256-/22KLQnxu3e2ZSca6ZLxTJDfv/rsmgCUkJnZC0RwRi8";
};
@@ -54,4 +54,4 @@ buildDunePackage rec {
maintainers = [ lib.maintainers.romildo ];
broken = lib.versionAtLeast ppxlib.version "0.36";
};
}
})
@@ -8,14 +8,14 @@
dune-configurator,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "ppx_deriving_protobuf";
version = "3.0.0";
duneVersion = "3";
src = fetchurl {
url = "https://github.com/ocaml-ppx/ppx_deriving_protobuf/releases/download/v${version}/ppx_deriving_protobuf-v${version}.tbz";
url = "https://github.com/ocaml-ppx/ppx_deriving_protobuf/releases/download/v${finalAttrs.version}/ppx_deriving_protobuf-v${finalAttrs.version}.tbz";
sha256 = "1dc1vxnkd0cnrgac5v3zbaj2lq1d2w8118mp1cmsdxylp06yz1sj";
};
@@ -32,4 +32,4 @@ buildDunePackage rec {
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vyorkin ];
};
}
})
@@ -24,7 +24,7 @@ let
};
in
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "ppx_deriving_yaml";
inherit (param) version;
@@ -37,7 +37,7 @@ buildDunePackage rec {
};
src = fetchurl {
url = "https://github.com/patricoferris/ppx_deriving_yaml/releases/download/v${version}/ppx_deriving_yaml-${version}.tbz";
url = "https://github.com/patricoferris/ppx_deriving_yaml/releases/download/v${finalAttrs.version}/ppx_deriving_yaml-${finalAttrs.version}.tbz";
inherit (param) hash;
};
@@ -60,4 +60,4 @@ buildDunePackage rec {
license = lib.licenses.isc;
maintainers = [ ];
};
}
})
@@ -35,7 +35,7 @@ let
};
in
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "ppx_deriving_yojson";
inherit (param) version;
@@ -47,7 +47,7 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "ocaml-ppx";
repo = "ppx_deriving_yojson";
rev = "v${version}";
rev = "v${finalAttrs.version}";
inherit (param) sha256;
};
@@ -63,8 +63,8 @@ buildDunePackage rec {
meta = {
description = "Yojson codec generator for OCaml >= 4.04";
inherit (src.meta) homepage;
inherit (finalAttrs.src.meta) homepage;
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ];
};
}
})
@@ -5,12 +5,12 @@
ppxlib,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "ppx_gen_rec";
version = "2.0.0";
src = fetchurl {
url = "https://github.com/flowtype/ocaml-${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
url = "https://github.com/flowtype/ocaml-ppx_gen_rec/releases/download/v${finalAttrs.version}/ppx_gen_rec-v${finalAttrs.version}.tbz";
sha256 = "sha256-/mMj5UT22KQGVy1sjgEoOgPzyCYyeDPtWJYNDvQ9nlk=";
};
@@ -25,4 +25,4 @@ buildDunePackage rec {
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ frontsideair ];
};
}
})
@@ -5,7 +5,7 @@
ppxlib,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "ppx_monad";
version = "0.2.0";
@@ -13,8 +13,8 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "niols";
repo = pname;
rev = "v${version}";
repo = "ppx_monad";
rev = "v${finalAttrs.version}";
sha256 = "sha256-cbguAddSlUxBK7pmT7vNmtJW9TrVZZjdSJRMT3lqxOA=";
};
@@ -30,6 +30,6 @@ buildDunePackage rec {
description = "OCaml Syntax Extension for all Monadic Syntaxes";
license = lib.licenses.lgpl3Plus;
maintainers = [ lib.maintainers.niols ];
homepage = "https://github.com/niols/${pname}";
homepage = "https://github.com/niols/ppx_monad";
};
}
})
@@ -6,14 +6,14 @@
ppxlib,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "ppx_show";
version = "0.2.1";
src = fetchFromGitHub {
owner = "thierry-martinez";
repo = pname;
rev = "v${version}";
repo = "ppx_show";
rev = "v${finalAttrs.version}";
sha256 = "sha256-YwWAdOtb0zg2hqNkGRiigz/Pci8Jy/QD+WyUEohEsns=";
};
@@ -23,9 +23,9 @@ buildDunePackage rec {
];
meta = {
homepage = "https://github.com/thierry-martinez/${pname}";
homepage = "https://github.com/thierry-martinez/ppx_show";
description = "OCaml PPX deriver for deriving show based on ppxlib";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ niols ];
};
}
})
@@ -5,7 +5,7 @@
ocaml-migrate-parsetree,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "ppx_tools_versioned";
version = "5.4.0";
@@ -13,8 +13,8 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "ocaml-ppx";
repo = pname;
rev = version;
repo = "ppx_tools_versioned";
rev = finalAttrs.version;
sha256 = "07lnj4yzwvwyh5fhpp1dxrys4ddih15jhgqjn59pmgxinbnddi66";
};
@@ -26,4 +26,4 @@ buildDunePackage rec {
license = lib.licenses.gpl2;
maintainers = [ ];
};
}
})
@@ -5,7 +5,7 @@
yojson,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "ppx_yojson_conv_lib";
version = "0.17.0";
@@ -13,8 +13,8 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "janestreet";
repo = pname;
rev = "v${version}";
repo = "ppx_yojson_conv_lib";
rev = "v${finalAttrs.version}";
hash = "sha256-XGgpcAEemBNEagblBjpK+BiL0OUsU2JPqOq+heHbqVk=";
};
@@ -26,4 +26,4 @@ buildDunePackage rec {
maintainers = [ ];
license = lib.licenses.mit;
};
}
})
@@ -109,12 +109,12 @@ let
."${version}";
in
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "ppxlib";
inherit version;
src = fetchurl {
url = "https://github.com/ocaml-ppx/ppxlib/releases/download/${version}/ppxlib-${version}.tbz";
url = "https://github.com/ocaml-ppx/ppxlib/releases/download/${finalAttrs.version}/ppxlib-${finalAttrs.version}.tbz";
inherit (param) sha256;
};
@@ -137,4 +137,4 @@ buildDunePackage rec {
param ? max_version && lib.versionAtLeast ocaml.version param.max_version
|| param ? min_version && lib.versionOlder ocaml.version param.min_version;
};
}
})
@@ -7,7 +7,7 @@
qcheck-alcotest,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
version = "5.0.1";
pname = "pratter";
@@ -17,7 +17,7 @@ buildDunePackage rec {
domain = "forge.tedomum.net";
owner = "koizel";
repo = "pratter";
tag = version;
tag = finalAttrs.version;
hash = "sha256-Ib7EplEvOuYcAS9cfzo5994SqCv2eiysLekYfH09IMw=";
};
@@ -32,7 +32,7 @@ buildDunePackage rec {
description = "Extended Pratt parser";
homepage = "https://github.com/gabrielhdt/pratter";
license = lib.licenses.bsd3;
changelog = "https://github.com/gabrielhdt/pratter/raw/${version}/CHANGELOG.md";
changelog = "https://github.com/gabrielhdt/pratter/raw/${finalAttrs.version}/CHANGELOG.md";
maintainers = with lib.maintainers; [ bcdarwin ];
};
}
})
@@ -4,7 +4,7 @@
fetchzip,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "prelude";
version = "0.5";
@@ -12,7 +12,7 @@ buildDunePackage rec {
# upstream git repo is misconfigured and cannot be cloned
src = fetchzip {
url = "https://git.zapashcanon.fr/zapashcanon/prelude/archive/${version}.tar.gz";
url = "https://git.zapashcanon.fr/zapashcanon/prelude/archive/${finalAttrs.version}.tar.gz";
hash = "sha256-lti+q1U/eEasAXo0O5YEu4iw7947V9bdvSHA0IEMS8M=";
};
@@ -22,8 +22,8 @@ buildDunePackage rec {
description = "Library to enforce good stdlib practices";
homepage = "https://ocaml.org/p/prelude/";
downloadPage = "https://git.zapashcanon.fr/zapashcanon/prelude";
changelog = "https://git.zapashcanon.fr/zapashcanon/prelude/src/tag/${version}/CHANGES.md";
changelog = "https://git.zapashcanon.fr/zapashcanon/prelude/src/tag/${finalAttrs.version}/CHANGES.md";
license = lib.licenses.agpl3Plus;
maintainers = [ lib.maintainers.ethancedwards8 ];
};
}
})
@@ -12,12 +12,12 @@
ptime,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "prettym";
version = "0.0.3";
src = fetchurl {
url = "https://github.com/dinosaure/prettym/releases/download/${version}/prettym-${version}.tbz";
url = "https://github.com/dinosaure/prettym/releases/download/${finalAttrs.version}/prettym-${finalAttrs.version}.tbz";
hash = "sha256-kXDxoRref02YpYSlvlK7a5FBX5ccbnWJQzG0axi5jwk=";
};
@@ -45,4 +45,4 @@ buildDunePackage rec {
homepage = "https://github.com/dinosaure/prettym";
maintainers = [ ];
};
}
})
@@ -7,7 +7,7 @@
gitUpdater,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "printbox";
version = "0.12";
@@ -15,8 +15,8 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "c-cube";
repo = pname;
rev = "v${version}";
repo = "printbox";
rev = "v${finalAttrs.version}";
sha256 = "sha256-PQbr2sjASoWz0OHAMV6buAJERpnUJxVpLAigIVnADIc=";
};
@@ -33,4 +33,4 @@ buildDunePackage rec {
license = lib.licenses.isc;
maintainers = [ lib.maintainers.romildo ];
};
}
})
@@ -4,7 +4,7 @@
fetchFromGitHub,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "processor";
version = "0.1-unstable-2024-07-23";
@@ -23,8 +23,8 @@ buildDunePackage rec {
description = "CPU topology and affinity for ocaml-multicore";
homepage = "https://haesbaert.github.io/ocaml-processor/processor/index.html";
downloadPage = "https://github.com/haesbaert/ocaml-processor";
changelog = "https://github.com/haesbaert/ocaml-processor/releases/tag/v${version}";
changelog = "https://github.com/haesbaert/ocaml-processor/releases/tag/v${finalAttrs.version}";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.ethancedwards8 ];
};
}
})
@@ -9,14 +9,14 @@
ojs,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "promise_jsoo";
version = "0.3.1";
minimalOCamlVersion = "4.08";
duneVersion = "3";
src = fetchurl {
url = "https://github.com/mnxn/promise_jsoo/releases/download/v${version}/promise_jsoo-v${version}.tbz";
url = "https://github.com/mnxn/promise_jsoo/releases/download/v${finalAttrs.version}/promise_jsoo-v${finalAttrs.version}.tbz";
sha256 = "00pjnsbv0yv3hhxbbl8dsljgr95kjgi9w8j1x46gjyxg9zayrxzl";
};
@@ -37,4 +37,4 @@ buildDunePackage rec {
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ jayesh-bhoot ];
};
}
})
@@ -5,14 +5,14 @@
menhir,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
version = "0.4.0";
pname = "psmt2-frontend";
src = fetchFromGitHub {
owner = "ACoquereau";
repo = pname;
rev = version;
repo = "psmt2-frontend";
rev = finalAttrs.version;
hash = "sha256-cYY9x7QZjH7pdJyHMqfMXgHZ3/zJLp/6ntY6OSIo6Vs=";
};
@@ -24,7 +24,7 @@ buildDunePackage rec {
description = "Simple parser and type-checker for polomorphic extension of the SMT-LIB 2 language";
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.vbgl ];
inherit (src.meta) homepage;
inherit (finalAttrs.src.meta) homepage;
};
}
})

Some files were not shown because too many files have changed in this diff Show More