various: migrate ocaml packages to finalAttrs #3 (#482737)

This commit is contained in:
Weijia Wang
2026-05-13 09:12:08 +00:00
committed by GitHub
82 changed files with 272 additions and 273 deletions

View File

@@ -6,7 +6,7 @@
fmt,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "genspio";
version = "0.0.3";
@@ -14,8 +14,8 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "hammerlab";
repo = pname;
rev = "${pname}.${version}";
repo = "genspio";
rev = "genspio.${finalAttrs.version}";
sha256 = "sha256:1788cnn10idp5i1hggg4pys7k0w8m3h2p4xa42jipfg4cpj7shaf";
};
@@ -35,4 +35,4 @@ buildDunePackage rec {
license = lib.licenses.asl20;
maintainers = [ ];
};
}
})

View File

@@ -11,7 +11,7 @@
alcotest,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "get-activity";
inherit (get-activity-lib) version src;
@@ -42,7 +42,7 @@ buildDunePackage rec {
homepage = "https://github.com/tarides/get-activity";
description = "Collect activity and format as markdown for a journal";
license = lib.licenses.mit;
changelog = "https://github.com/tarides/get-activity/releases/tag/${version}";
changelog = "https://github.com/tarides/get-activity/releases/tag/${finalAttrs.version}";
maintainers = with lib.maintainers; [ zazedd ];
};
}
})

View File

@@ -13,14 +13,14 @@
alcotest,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "get-activity-lib";
version = "2.0.1";
src = fetchFromGitHub {
owner = "tarides";
repo = "get-activity";
rev = version;
rev = finalAttrs.version;
hash = "sha256-QU/LPIxcem5nFvSxcNApOuBu6UHqLHIXVSOJ2UT0eKA=";
};
@@ -48,7 +48,7 @@ buildDunePackage rec {
homepage = "https://github.com/tarides/get-activity";
description = "Collect activity and format as markdown for a journal (lib)";
license = lib.licenses.mit;
changelog = "https://github.com/tarides/get-activity/releases/tag/${version}";
changelog = "https://github.com/tarides/get-activity/releases/tag/${finalAttrs.version}";
maintainers = with lib.maintainers; [ zazedd ];
};
}
})

View File

@@ -4,7 +4,7 @@
buildDunePackage,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "getopt";
version = "20230213";
@@ -13,7 +13,7 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "scemama";
repo = "ocaml-getopt";
rev = version;
rev = finalAttrs.version;
hash = "sha256-oYDm945LgjIW+8x7UrO4FlbHywnu8480aiEVvnjBxc8=";
};
@@ -25,4 +25,4 @@ buildDunePackage rec {
license = lib.licenses.mit;
maintainers = [ lib.maintainers.ulrikstrid ];
};
}
})

View File

@@ -37,14 +37,14 @@
cmdliner,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "git";
version = "3.18.0";
minimalOCamlVersion = "4.08";
src = fetchurl {
url = "https://github.com/mirage/ocaml-git/releases/download/${version}/git-${version}.tbz";
url = "https://github.com/mirage/ocaml-git/releases/download/${finalAttrs.version}/git-${finalAttrs.version}.tbz";
hash = "sha256-kleVYn5tquC0vRaqUGh53xHLIB5l/v446BN48Y1RfUs=";
};
@@ -99,4 +99,4 @@ buildDunePackage rec {
];
homepage = "https://github.com/mirage/ocaml-git";
};
}
})

View File

@@ -11,14 +11,14 @@
stringext,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "github";
version = "4.5.1";
src = fetchFromGitHub {
owner = "mirage";
repo = "ocaml-github";
rev = version;
rev = finalAttrs.version;
sha256 = "sha256-nxHXOdZAvFe5/lKNw7tTJmY86xzfdFT+fW+lnKioyPM=";
};
@@ -40,4 +40,4 @@ buildDunePackage rec {
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ niols ];
};
}
})

View File

@@ -11,14 +11,14 @@
stringext,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "gitlab";
version = "0.1.8";
src = fetchFromGitHub {
owner = "tmcgilchrist";
repo = "ocaml-gitlab";
rev = version;
rev = finalAttrs.version;
hash = "sha256-7pUpH1SoP4eW8ild5j+Tcy+aTXq0+eSkhKUOXJ6Z30k=";
};
@@ -46,7 +46,7 @@ buildDunePackage rec {
homepage = "https://github.com/tmcgilchrist/ocaml-gitlab";
description = "Native OCaml bindings to Gitlab REST API v4";
license = lib.licenses.bsd3;
changelog = "https://github.com/tmcgilchrist/ocaml-gitlab/releases/tag/${version}";
changelog = "https://github.com/tmcgilchrist/ocaml-gitlab/releases/tag/${finalAttrs.version}";
maintainers = with lib.maintainers; [ zazedd ];
};
}
})

View File

@@ -10,14 +10,14 @@
uri,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "gluon";
version = "0.0.9";
minimalOCamlVersion = "5.1";
src = fetchurl {
url = "https://github.com/riot-ml/gluon/releases/download/${version}/gluon-${version}.tbz";
url = "https://github.com/riot-ml/gluon/releases/download/${finalAttrs.version}/gluon-${finalAttrs.version}.tbz";
hash = "sha256-YWJCPokY1A7TGqCGoxJl14oKDVeMNybEEB7KiK92WSo=";
};
@@ -40,8 +40,8 @@ buildDunePackage rec {
meta = {
description = "Minimal, portable, and fast API on top of the operating-system's evented I/O API";
homepage = "https://github.com/riot-ml/gluon";
changelog = "https://github.com/riot-ml/gluon/blob/${version}/CHANGES.md";
changelog = "https://github.com/riot-ml/gluon/blob/${finalAttrs.version}/CHANGES.md";
license = lib.licenses.mit;
maintainers = [ ];
};
}
})

View File

@@ -6,12 +6,12 @@
lib,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "gluten";
version = "0.5.2";
src = fetchurl {
url = "https://github.com/anmonteiro/gluten/releases/download/${version}/gluten-${version}.tbz";
url = "https://github.com/anmonteiro/gluten/releases/download/${finalAttrs.version}/gluten-${finalAttrs.version}.tbz";
hash = "sha256-se7Yn59ggLtL0onMjSUsa88B8D05Vybmb6YGcgfnAV8=";
};
@@ -30,4 +30,4 @@ buildDunePackage rec {
homepage = "https://github.com/anmonteiro/gluten";
maintainers = with lib.maintainers; [ anmonteiro ];
};
}
})

View File

@@ -7,14 +7,14 @@
fmt,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "gmap";
version = "0.3.0";
duneVersion = "3";
src = fetchurl {
url = "https://github.com/hannesm/gmap/releases/download/${version}/gmap-${version}.tbz";
url = "https://github.com/hannesm/gmap/releases/download/${finalAttrs.version}/gmap-${finalAttrs.version}.tbz";
sha256 = "073wa0lrb0jj706j87cwzf1a8d1ff14100mnrjs8z3xc4ri9xp84";
};
@@ -33,4 +33,4 @@ buildDunePackage rec {
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}
})

View File

@@ -12,7 +12,7 @@
graphql-lwt,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "graphql-cohttp";
inherit (graphql) version src;
@@ -28,7 +28,7 @@ buildDunePackage rec {
ocplib-endian
];
checkInputs = lib.optionals doCheck [
checkInputs = lib.optionals finalAttrs.doCheck [
alcotest
cohttp-lwt-unix
graphql-lwt
@@ -45,4 +45,4 @@ buildDunePackage rec {
description = "Run GraphQL servers with cohttp";
};
}
})

View File

@@ -8,7 +8,7 @@
re,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "graphql_parser";
version = "0.14.0";
@@ -16,7 +16,7 @@ buildDunePackage rec {
duneVersion = "3";
src = fetchurl {
url = "https://github.com/andreas/ocaml-graphql-server/releases/download/${version}/graphql-${version}.tbz";
url = "https://github.com/andreas/ocaml-graphql-server/releases/download/${finalAttrs.version}/graphql-${finalAttrs.version}.tbz";
sha256 = "sha256-v4v1ueF+NV7LvYIVinaf4rE450Z1P9OiMAito6/NHAY=";
};
@@ -37,4 +37,4 @@ buildDunePackage rec {
maintainers = [ lib.maintainers.vbgl ];
};
}
})

View File

@@ -7,7 +7,7 @@
dune-configurator,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "gsl";
version = "1.25.1";
@@ -16,7 +16,7 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "mmottl";
repo = "gsl-ocaml";
rev = version;
rev = finalAttrs.version;
hash = "sha256-h1jO2RheBBzxiBgig2yEPk4YyBaZxStt5f+KNZqHdBo=";
};
@@ -32,4 +32,4 @@ buildDunePackage rec {
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ vbgl ];
};
}
})

View File

@@ -8,14 +8,14 @@
gst_all_1,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "gstreamer";
version = "0.3.1";
src = fetchFromGitHub {
owner = "savonet";
repo = "ocaml-gstreamer";
rev = "v${version}";
rev = "v${finalAttrs.version}";
sha256 = "0y8xi1q0ld4hrk96bn6jfh9slyjrxmnlhm662ynacp3yzalp8jji";
};
@@ -40,4 +40,4 @@ buildDunePackage rec {
license = lib.licenses.lgpl21Only;
maintainers = with lib.maintainers; [ dandellion ];
};
}
})

View File

@@ -7,7 +7,7 @@
pkg-config,
sqlite,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "hack_parallel";
version = "1.0.1";
minimalOCamlVersion = "4.08";
@@ -15,7 +15,7 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "rvantonder";
repo = "hack_parallel";
rev = version;
rev = finalAttrs.version;
sha256 = "0qjlkw35r4q2cm0n2x0i73zvx1xgrp6axaia2nm8zxpm49mid629";
};
@@ -51,4 +51,4 @@ buildDunePackage rec {
license = lib.licenses.mit;
homepage = "https://github.com/rvantonder/hack_parallel";
};
}
})

View File

@@ -9,14 +9,14 @@
logs,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "happy-eyeballs";
version = "2.0.1";
minimalOCamlVersion = "4.08";
src = fetchurl {
url = "https://github.com/roburio/happy-eyeballs/releases/download/v${version}/happy-eyeballs-${version}.tbz";
url = "https://github.com/roburio/happy-eyeballs/releases/download/v${finalAttrs.version}/happy-eyeballs-${finalAttrs.version}.tbz";
hash = "sha256-slVFiDApMbqF4Yhh5hCjraeCNJbU1JoZXpU1VsNR0mk=";
};
@@ -37,4 +37,4 @@ buildDunePackage rec {
ulrikstrid
];
};
}
})

View File

@@ -4,7 +4,7 @@
fetchzip,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "hc";
version = "0.5";
@@ -12,7 +12,7 @@ buildDunePackage rec {
# upstream git server is misconfigured and cannot be cloned
src = fetchzip {
url = "https://git.zapashcanon.fr/zapashcanon/hc/archive/${version}.tar.gz";
url = "https://git.zapashcanon.fr/zapashcanon/hc/archive/${finalAttrs.version}.tar.gz";
hash = "sha256-oTomFi+e9aCgVpZ9EkxQ/dZz18cW2UcaV0ZIokeBoU0=";
};
@@ -22,8 +22,8 @@ buildDunePackage rec {
description = "Library for hash consing";
homepage = "https://ocaml.org/p/hc/";
downloadPage = "https://git.zapashcanon.fr/zapashcanon/hc";
changelog = "https://git.zapashcanon.fr/zapashcanon/hc/src/tag/${version}/CHANGES.md";
changelog = "https://git.zapashcanon.fr/zapashcanon/hc/src/tag/${finalAttrs.version}/CHANGES.md";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.ethancedwards8 ];
};
}
})

View File

@@ -5,7 +5,7 @@
cstruct,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "hex";
version = "1.5.0";
@@ -13,7 +13,7 @@ buildDunePackage rec {
minimalOCamlVersion = "4.08";
src = fetchurl {
url = "https://github.com/mirage/ocaml-${pname}/releases/download/v${version}/hex-${version}.tbz";
url = "https://github.com/mirage/ocaml-hex/releases/download/v${finalAttrs.version}/hex-${finalAttrs.version}.tbz";
hash = "sha256-LmfuyhsDBJMHowgxtc1pS8stPn8qa0+1l/vbZHNRtNw=";
};
@@ -26,4 +26,4 @@ buildDunePackage rec {
license = lib.licenses.isc;
maintainers = with lib.maintainers; [ vbgl ];
};
}
})

View File

@@ -8,7 +8,7 @@
bigstring,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "hidapi";
version = "1.2.1";
@@ -17,7 +17,7 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "vbmithr";
repo = "ocaml-hidapi";
rev = version;
rev = finalAttrs.version;
hash = "sha256-upygm5G46C65lxaiI6kBOzLrWxzW9qWb6efN/t58SRg=";
};
@@ -39,4 +39,4 @@ buildDunePackage rec {
maintainers = [ ];
mainProgram = "ocaml-hid-enumerate";
};
}
})

View File

@@ -6,7 +6,7 @@
xtmpl,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "higlo";
version = "0.10.0";
@@ -14,7 +14,7 @@ buildDunePackage rec {
domain = "framagit.org";
owner = "zoggy";
repo = "higlo";
rev = version;
rev = finalAttrs.version;
hash = "sha256-A5Su4+eBOq/WNdY/3EBQ3KqrRQuaCI1x25cEuoZp4Mo=";
};
@@ -25,8 +25,8 @@ buildDunePackage rec {
meta = {
description = "OCaml library for syntax highlighting";
inherit (src.meta) homepage;
inherit (finalAttrs.src.meta) homepage;
license = lib.licenses.lgpl3;
maintainers = with lib.maintainers; [ regnat ];
};
}
})

View File

@@ -7,14 +7,14 @@
ohex,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "hkdf";
version = "2.0.0";
minimalOCamlVersion = "4.08";
src = fetchurl {
url = "https://github.com/hannesm/ocaml-${pname}/releases/download/v${version}/${pname}-${version}.tbz";
url = "https://github.com/hannesm/ocaml-hkdf/releases/download/v${finalAttrs.version}/hkdf-${finalAttrs.version}.tbz";
hash = "sha256-VLBxJ5viTTn1nK0QNIAGq/8961x0/RGHZN/C/7ITWNM=";
};
@@ -31,4 +31,4 @@ buildDunePackage rec {
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sternenseemann ];
};
}
})

View File

@@ -6,12 +6,12 @@
faraday,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "hpack";
version = "0.13.0";
src = fetchurl {
url = "https://github.com/anmonteiro/ocaml-h2/releases/download/${version}/h2-${version}.tbz";
url = "https://github.com/anmonteiro/ocaml-h2/releases/download/${finalAttrs.version}/h2-${finalAttrs.version}.tbz";
hash = "sha256-DYm28XgXUpTnogciO+gdW4P8Mbl1Sb7DTwQyo7KoBw8=";
};
@@ -34,4 +34,4 @@ buildDunePackage rec {
anmonteiro
];
};
}
})

View File

@@ -8,7 +8,7 @@
alcotest,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "httpaf";
version = "0.7.1";
@@ -16,8 +16,8 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "inhabitedtype";
repo = pname;
rev = version;
repo = "httpaf";
rev = finalAttrs.version;
sha256 = "0zk78af3qyvf6w66mg8sxygr6ndayzqw5s3zfxibvn121xwni26z";
};
@@ -33,6 +33,6 @@ buildDunePackage rec {
description = "High-performance, memory-efficient, and scalable web server for OCaml";
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.vbgl ];
inherit (src.meta) homepage;
inherit (finalAttrs.src.meta) homepage;
};
}
})

View File

@@ -11,12 +11,12 @@
alcotest,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "httpun-ws";
version = "0.2.0";
src = fetchurl {
url = "https://github.com/anmonteiro/httpun-ws/releases/download/${version}/httpun-ws-${version}.tbz";
url = "https://github.com/anmonteiro/httpun-ws/releases/download/${finalAttrs.version}/httpun-ws-${finalAttrs.version}.tbz";
hash = "sha256-6uDNLg61tPyctthitxFqbw/IUDsuQ5BGvw5vTLLCl/0=";
};
@@ -38,4 +38,4 @@ buildDunePackage rec {
homepage = "https://github.com/anmonteiro/httpun-ws";
maintainers = [ lib.maintainers.vbgl ];
};
}
})

View File

@@ -5,12 +5,12 @@
faraday,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "httpun-types";
version = "0.2.0";
src = fetchurl {
url = "https://github.com/anmonteiro/httpun/releases/download/${version}/httpun-${version}.tbz";
url = "https://github.com/anmonteiro/httpun/releases/download/${finalAttrs.version}/httpun-${finalAttrs.version}.tbz";
hash = "sha256-os4n70yFro4cEAjR49Xok9ayEbk0WGod0pQvfbaHvSw=";
};
@@ -22,4 +22,4 @@ buildDunePackage rec {
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.vbgl ];
};
}
})

View File

@@ -8,14 +8,14 @@
withLwt ? true,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "hxd";
version = "0.4.0";
minimalOCamlVersion = "4.08";
src = fetchurl {
url = "https://github.com/dinosaure/hxd/releases/download/v${version}/hxd-${version}.tbz";
url = "https://github.com/dinosaure/hxd/releases/download/v${finalAttrs.version}/hxd-${finalAttrs.version}.tbz";
sha256 = "sha256-EAMLciahdQRHGAmtWvwMIAchJkxcbdPVldJIBApxgFg=";
};
@@ -39,4 +39,4 @@ buildDunePackage rec {
maintainers = [ lib.maintainers.sternenseemann ];
mainProgram = "hxd.xxd";
};
}
})

View File

@@ -7,7 +7,7 @@
alcotest,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
minimalOCamlVersion = "4.08";
version = "20221222";
pname = "imagelib";
@@ -15,7 +15,7 @@ buildDunePackage rec {
duneVersion = "3";
src = fetchurl {
url = "https://github.com/rlepigre/ocaml-imagelib/releases/download/${version}/imagelib-${version}.tbz";
url = "https://github.com/rlepigre/ocaml-imagelib/releases/download/${finalAttrs.version}/imagelib-${finalAttrs.version}.tbz";
hash = "sha256-BQ2TVxGlpc6temteK84TKXpx0MtHZSykL/TjKN9xGP0=";
};
@@ -34,4 +34,4 @@ buildDunePackage rec {
maintainers = [ lib.maintainers.vbgl ];
mainProgram = "imagetool";
};
}
})

View File

@@ -19,12 +19,12 @@
lru,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "index";
version = "1.6.2";
src = fetchurl {
url = "https://github.com/mirage/index/releases/download/${version}/index-${version}.tbz";
url = "https://github.com/mirage/index/releases/download/${finalAttrs.version}/index-${finalAttrs.version}.tbz";
hash = "sha256-k4iDUJik7UTuztBw7YaFXASd8SqYMR1JgLm3JOyriGA=";
};
@@ -73,4 +73,4 @@ buildDunePackage rec {
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ vbgl ];
};
}
})

View File

@@ -7,14 +7,14 @@
fileutils, # only for tests
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
version = "2.6";
pname = "inotify";
src = fetchFromGitHub {
owner = "whitequark";
repo = "ocaml-inotify";
rev = "v${version}";
rev = "v${finalAttrs.version}";
hash = "sha256-Vg9uVIx6/OMS1WoJIHwZbSt5ZyFy+Xgw5167FJWGslg=";
};
@@ -31,7 +31,7 @@ buildDunePackage rec {
description = "Bindings for Linuxs filesystem monitoring interface, inotify";
license = lib.licenses.lgpl21;
maintainers = [ lib.maintainers.vbgl ];
inherit (src.meta) homepage;
inherit (finalAttrs.src.meta) homepage;
platforms = lib.platforms.linux;
};
}
})

View File

@@ -5,14 +5,14 @@
stdlib-shims,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "integers";
version = "0.7.0";
src = fetchFromGitHub {
owner = "ocamllabs";
repo = "ocaml-integers";
rev = version;
rev = finalAttrs.version;
sha256 = "sha256-zuUgP1jOiVT0q6GisGpkqx7nybWbARgnAcU8NYqvCzA=";
};
@@ -22,7 +22,7 @@ buildDunePackage rec {
description = "Various signed and unsigned integer types for OCaml";
license = lib.licenses.mit;
homepage = "https://github.com/ocamllabs/ocaml-integers";
changelog = "https://github.com/ocamllabs/ocaml-integers/raw/${version}/CHANGES.md";
changelog = "https://github.com/ocamllabs/ocaml-integers/raw/${finalAttrs.version}/CHANGES.md";
maintainers = [ lib.maintainers.vbgl ];
};
}
})

View File

@@ -5,7 +5,7 @@
zarith_stubs_js ? null,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "integers_stubs_js";
version = "1.0";
@@ -14,8 +14,8 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "o1-labs";
repo = pname;
rev = version;
repo = "integers_stubs_js";
rev = finalAttrs.version;
sha256 = "sha256-lg5cX9/LQlVmR42XcI17b6KaatnFO2L9A9ZXfID8mTY=";
};
@@ -26,6 +26,6 @@ buildDunePackage rec {
description = "Javascript stubs for the integers library in js_of_ocaml";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ bezmuth ];
inherit (src.meta) homepage;
inherit (finalAttrs.src.meta) homepage;
};
}
})

View File

@@ -8,7 +8,7 @@
ounit,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "io-page";
version = "3.0.0";
@@ -16,7 +16,7 @@ buildDunePackage rec {
duneVersion = "3";
src = fetchurl {
url = "https://github.com/mirage/${pname}/releases/download/v${version}/${pname}-${version}.tbz";
url = "https://github.com/mirage/io-page/releases/download/v${finalAttrs.version}/io-page-${finalAttrs.version}.tbz";
hash = "sha256-DjbKdNkFa6YQgJDLmLsuvyrweb4/TNvqAiggcj/3hu4=";
};
@@ -34,4 +34,4 @@ buildDunePackage rec {
description = "IO memory page library for Mirage backends";
maintainers = with lib.maintainers; [ vbgl ];
};
}
})

View File

@@ -6,14 +6,14 @@
alcotest,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "iomux";
version = "0.4";
minimalOCamlVersion = "4.08";
src = fetchurl {
url = "https://github.com/haesbaert/ocaml-${pname}/releases/download/v${version}/${pname}-${version}.tbz";
url = "https://github.com/haesbaert/ocaml-iomux/releases/download/v${finalAttrs.version}/iomux-${finalAttrs.version}.tbz";
hash = "sha256-Hjk/rlWUdoSMXHBSUHaxEHDoBqVJ7rrghLBGqXcrqzU=";
};
@@ -26,9 +26,9 @@ buildDunePackage rec {
];
meta = {
homepage = "https://github.com/haesbaert/ocaml-${pname}";
homepage = "https://github.com/haesbaert/ocaml-iomux";
description = "IO Multiplexers for OCaml";
license = with lib.licenses; [ isc ];
maintainers = with lib.maintainers; [ toastal ];
};
}
})

View File

@@ -7,7 +7,7 @@
uutf,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "iri";
version = "1.1.0";
@@ -17,7 +17,7 @@ buildDunePackage rec {
domain = "framagit.org";
owner = "zoggy";
repo = "ocaml-iri";
rev = version;
rev = finalAttrs.version;
hash = "sha256-fh5+0CWplDdGXCotZL2UzjOGil2LR4NppttaquO/ndE=";
};
@@ -31,6 +31,6 @@ buildDunePackage rec {
description = "IRI (RFC3987) native OCaml implementation";
license = lib.licenses.lgpl3;
maintainers = [ lib.maintainers.vbgl ];
inherit (src.meta) homepage;
inherit (finalAttrs.src.meta) homepage;
};
}
})

View File

@@ -7,12 +7,12 @@
logs,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "ppx_irmin";
version = "3.11.0";
src = fetchurl {
url = "https://github.com/mirage/irmin/releases/download/${version}/irmin-${version}.tbz";
url = "https://github.com/mirage/irmin/releases/download/${finalAttrs.version}/irmin-${finalAttrs.version}.tbz";
hash = "sha256-CZlvvMLEPhF6m9jpAoxjXoHMyyZNXgLUJauLBrus29s=";
};
@@ -33,4 +33,4 @@ buildDunePackage rec {
sternenseemann
];
};
}
})

View File

@@ -7,14 +7,14 @@
qcheck-core,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "iter";
version = "1.9";
minimalOCamlVersion = "4.08";
src = fetchurl {
url = "https://github.com/c-cube/iter/releases/download/v${version}/iter-${version}.tbz";
url = "https://github.com/c-cube/iter/releases/download/v${finalAttrs.version}/iter-${finalAttrs.version}.tbz";
hash = "sha256-26nluxUuDQ2wBUw2sqlHZ0eihKdzjxXxGVo+IDXH6Wg=";
};
@@ -36,4 +36,4 @@ buildDunePackage rec {
'';
license = lib.licenses.bsd2;
};
}
})

View File

@@ -11,12 +11,12 @@
zarith,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "jose";
version = "0.10.0";
src = fetchurl {
url = "https://github.com/ulrikstrid/ocaml-jose/releases/download/v${version}/${pname}-${version}.tbz";
url = "https://github.com/ulrikstrid/ocaml-jose/releases/download/v${finalAttrs.version}/jose-${finalAttrs.version}.tbz";
hash = "sha256-F6Odq5JXTkAxdqV3HQusoF+9rvt4BZytslKnsIjJLI8=";
};
@@ -44,4 +44,4 @@ buildDunePackage rec {
marijanp
];
};
}
})

View File

@@ -6,14 +6,14 @@
uri,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "json-data-encoding";
version = "1.0.1";
minimalOCamlVersion = "4.10";
src = fetchFromGitLab {
owner = "nomadic-labs";
repo = "data-encoding";
rev = "v${version}";
rev = "v${finalAttrs.version}";
hash = "sha256-KoA4xX4tNyi6bX5kso/Wof1LA7431EXJ34eD5X4jnd8=";
};
@@ -28,4 +28,4 @@ buildDunePackage rec {
license = lib.licenses.lgpl3;
maintainers = [ lib.maintainers.ulrikstrid ];
};
}
})

View File

@@ -6,12 +6,12 @@
tyxml,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "junit";
version = "2.3.0";
src = fetchurl {
url = "https://github.com/Khady/ocaml-junit/releases/download/${version}/junit-${version}.tbz";
url = "https://github.com/Khady/ocaml-junit/releases/download/${finalAttrs.version}/junit-${finalAttrs.version}.tbz";
hash = "sha256-j+4lfuQEWq8z8ik/zfA5phWqv8km+tGEzqG/63cbhTM=";
};
@@ -28,4 +28,4 @@ buildDunePackage rec {
maintainers = [ ];
homepage = "https://github.com/Khady/ocaml-junit";
};
}
})

View File

@@ -12,7 +12,7 @@
ppx_deriving,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "jwto";
version = "0.4.0";
@@ -23,7 +23,7 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "sporto";
repo = "jwto";
rev = version;
rev = finalAttrs.version;
hash = "sha256-TOWwNyrOqboCm8Y4mM6GgtmxGO3NmyDdAX7m8CifA7Y=";
};
@@ -51,4 +51,4 @@ buildDunePackage rec {
jtcoolen
];
};
}
})

View File

@@ -7,12 +7,12 @@
zlib,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "kafka";
version = "0.5";
src = fetchurl {
url = "https://github.com/didier-wenzek/ocaml-kafka/releases/download/${version}/kafka-${version}.tbz";
url = "https://github.com/didier-wenzek/ocaml-kafka/releases/download/${finalAttrs.version}/kafka-${finalAttrs.version}.tbz";
sha256 = "0m9212yap0a00hd0f61i4y4fna3141p77qj3mm7jl1h4q60jdhvy";
};
@@ -28,4 +28,4 @@ buildDunePackage rec {
maintainers = [ lib.maintainers.vbgl ];
broken = lib.versionAtLeast ocaml.version "5.0";
};
}
})

View File

@@ -12,12 +12,12 @@
mdx,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "kcas";
version = "0.7.0";
src = fetchurl {
url = "https://github.com/ocaml-multicore/kcas/releases/download/${version}/kcas-${version}.tbz";
url = "https://github.com/ocaml-multicore/kcas/releases/download/${finalAttrs.version}/kcas-${finalAttrs.version}.tbz";
hash = "sha256-mo/otnkB79QdyVgLw1sZFfkR/Z/l15cRVfEYPPd6H5E=";
};
@@ -42,8 +42,8 @@ buildDunePackage rec {
longDescription = ''
A software transactional memory (STM) implementation based on an atomic lock-free multi-word compare-and-set (MCAS) algorithm enhanced with read-only compare operations and ability to block awaiting for changes.
'';
changelog = "https://raw.githubusercontent.com/ocaml-multicore/kcas/refs/tags/${version}/CHANGES.md";
changelog = "https://raw.githubusercontent.com/ocaml-multicore/kcas/refs/tags/${finalAttrs.version}/CHANGES.md";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}
})

View File

@@ -8,12 +8,12 @@
ohex,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "kdf";
version = "1.0.0";
src = fetchurl {
url = "https://github.com/robur-coop/kdf/releases/download/v${version}/kdf-${version}.tbz";
url = "https://github.com/robur-coop/kdf/releases/download/v${finalAttrs.version}/kdf-${finalAttrs.version}.tbz";
hash = "sha256-0WFYKw7+ZtlY3WuMnCEGjp9kVM4hg3fWz4eCPexi4M4=";
};
@@ -34,4 +34,4 @@ buildDunePackage rec {
license = lib.licenses.bsd2;
maintainers = [ lib.maintainers.vbgl ];
};
}
})

View File

@@ -9,7 +9,7 @@
zarith,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "kdl";
version = "0.2.0";
@@ -34,7 +34,7 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "eilvelia";
repo = "ocaml-kdl";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-0MiJe0XbWAlS2NvGxLplsgVfCNaA/7iCMx4+F+6FAtM=";
};
@@ -44,4 +44,4 @@ buildDunePackage rec {
maintainers = with lib.maintainers; [ toastal ];
homepage = "https://github.com/eilvelia/ocaml-kdl";
};
}
})

View File

@@ -7,12 +7,12 @@
bigstringaf,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "ke";
version = "0.6";
src = fetchurl {
url = "https://github.com/mirage/ke/releases/download/v${version}/ke-${version}.tbz";
url = "https://github.com/mirage/ke/releases/download/v${finalAttrs.version}/ke-${finalAttrs.version}.tbz";
sha256 = "sha256-YSFyB+IgCwSxd1lzZhD/kggmmmR/hUy1rnLNrA1nIwU=";
};
@@ -33,4 +33,4 @@ buildDunePackage rec {
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ];
};
}
})

View File

@@ -4,14 +4,14 @@
fetchurl,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "kicadsch";
version = "0.9.0";
minimalOCamlVersion = "4.07";
src = fetchurl {
url = "https://github.com/jnavila/plotkicadsch/releases/download/v${version}/plotkicadsch-${version}.tbz";
url = "https://github.com/jnavila/plotkicadsch/releases/download/v${finalAttrs.version}/plotkicadsch-${finalAttrs.version}.tbz";
sha256 = "sha256-B+vnEPyd3SUzviTdNoyvYk0p7Hrg/XTJm8KxsY8A4jQ=";
};
@@ -21,4 +21,4 @@ buildDunePackage rec {
license = lib.licenses.isc;
maintainers = with lib.maintainers; [ leungbk ];
};
}
})

View File

@@ -7,14 +7,14 @@
ppx_optcomp,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "kqueue";
version = "0.4.0";
minimalOCamlVersion = "4.12";
src = fetchurl {
url = "https://github.com/anuragsoni/kqueue-ml/releases/download/${version}/kqueue-${version}.tbz";
url = "https://github.com/anuragsoni/kqueue-ml/releases/download/${finalAttrs.version}/kqueue-${finalAttrs.version}.tbz";
hash = "sha256-fJHhmAp0EFzR9JH93a+EHy1auwSBKZV/XcBQLCedJLc=";
};
@@ -32,8 +32,8 @@ buildDunePackage rec {
meta = {
description = "OCaml bindings for kqueue event notification interface";
homepage = "https://github.com/anuragsoni/kqueue-ml";
changelog = "https://github.com/anuragsoni/kqueue-ml/blob/${version}/CHANGES.md";
changelog = "https://github.com/anuragsoni/kqueue-ml/blob/${finalAttrs.version}/CHANGES.md";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ sixstring982 ];
};
}
})

View File

@@ -9,14 +9,14 @@
camlp-streams,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
version = "3.1.5";
pname = "lablgtk3";
minimalOCamlVersion = "4.06";
src = fetchurl {
url = "https://github.com/garrigue/lablgtk/releases/download/${version}/lablgtk3-${version}.tbz";
url = "https://github.com/garrigue/lablgtk/releases/download/${finalAttrs.version}/lablgtk3-${finalAttrs.version}.tbz";
hash = "sha256-1IIc2+zzrjdPIDF9Y+Q/5YAww7qWV7UaLoPmUhl+jqw=";
};
@@ -36,4 +36,4 @@ buildDunePackage rec {
license = lib.licenses.lgpl21;
maintainers = [ lib.maintainers.vbgl ];
};
}
})

View File

@@ -18,14 +18,14 @@
yojson,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "lambdapi";
version = "3.0.0";
minimalOCamlVersion = "4.14";
src = fetchurl {
url = "https://github.com/Deducteam/lambdapi/releases/download/${version}/lambdapi-${version}.tbz";
url = "https://github.com/Deducteam/lambdapi/releases/download/${finalAttrs.version}/lambdapi-${finalAttrs.version}.tbz";
hash = "sha256-EGau0mGP2OakAMUUfb9V6pd86NP+LlGKxnhcZ3WhuL4=";
};
@@ -64,7 +64,7 @@ buildDunePackage rec {
homepage = "https://github.com/Deducteam/lambdapi";
description = "Proof assistant based on the λΠ-calculus modulo rewriting";
license = lib.licenses.cecill21;
changelog = "https://github.com/Deducteam/lambdapi/raw/${version}/CHANGES.md";
changelog = "https://github.com/Deducteam/lambdapi/raw/${finalAttrs.version}/CHANGES.md";
maintainers = with lib.maintainers; [ bcdarwin ];
};
}
})

View File

@@ -8,7 +8,7 @@
ounit2,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "lambdasoup";
version = "1.1.1";
@@ -16,8 +16,8 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "aantron";
repo = pname;
rev = version;
repo = "lambdasoup";
rev = finalAttrs.version;
hash = "sha256-+d1JPU7OyQgt8pDTlwZraqPHH+OBQD1ycsELKpHT95Y=";
};
@@ -36,4 +36,4 @@ buildDunePackage rec {
maintainers = [ lib.maintainers.vbgl ];
};
}
})

View File

@@ -7,7 +7,7 @@
lame,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "lame";
version = "0.3.7";
@@ -16,7 +16,7 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "savonet";
repo = "ocaml-lame";
rev = "v${version}";
rev = "v${finalAttrs.version}";
sha256 = "sha256-/ZzoGFQQrBf17TaBPSFDQ1yHaQnva56YLmscOacrKBI=";
};
@@ -30,4 +30,4 @@ buildDunePackage rec {
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ dandellion ];
};
}
})

View File

@@ -5,7 +5,7 @@
ocaml,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "landmarks";
version = "1.5";
minimalOCamlVersion = "4.08";
@@ -13,14 +13,14 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "LexiFi";
repo = "landmarks";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-eIq02D19OzDOrMDHE1Ecrgk+T6s9vj2X6B2HY+z+K8Q=";
};
doCheck = lib.versionAtLeast ocaml.version "4.08" && lib.versionOlder ocaml.version "5.0";
meta = {
inherit (src.meta) homepage;
inherit (finalAttrs.src.meta) homepage;
description = "Simple Profiling Library for OCaml";
longDescription = ''
Landmarks is a simple profiling library for OCaml. It provides
@@ -28,8 +28,8 @@ buildDunePackage rec {
instrumentation of the code may either done by hand, automatically or
semi-automatically using the ppx pepreprocessor (see landmarks-ppx package).
'';
changelog = "https://raw.githubusercontent.com/LexiFi/landmarks/refs/tags/v${version}/CHANGES.md";
changelog = "https://raw.githubusercontent.com/LexiFi/landmarks/refs/tags/v${finalAttrs.version}/CHANGES.md";
maintainers = with lib.maintainers; [ kenran ];
license = lib.licenses.mit;
};
}
})

View File

@@ -6,7 +6,7 @@
xmlplaylist,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "lastfm";
version = "0.3.4";
@@ -15,7 +15,7 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "savonet";
repo = "ocaml-lastfm";
rev = "v${version}";
rev = "v${finalAttrs.version}";
sha256 = "sha256-1te9B2+sUmkT/i2K5ueswWAWpvJf9rXob0zR4CMOJlg=";
};
@@ -30,4 +30,4 @@ buildDunePackage rec {
license = lib.licenses.lgpl21Only;
maintainers = with lib.maintainers; [ dandellion ];
};
}
})

View File

@@ -7,7 +7,7 @@
ounit,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "lens";
version = "1.2.5";
@@ -16,7 +16,7 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "pdonadeo";
repo = "ocaml-lens";
rev = "v${version}";
rev = "v${finalAttrs.version}";
sha256 = "1k23n7pa945fk6nbaq6nlkag5kg97wsw045ghz4gqp8b9i2im3vn";
};
@@ -37,4 +37,4 @@ buildDunePackage rec {
kazcw
];
};
}
})

View File

@@ -18,12 +18,12 @@
domain-name,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "letsencrypt";
version = "1.1.0";
src = fetchurl {
url = "https://github.com/mmaker/ocaml-letsencrypt/releases/download/v${version}/letsencrypt-${version}.tbz";
url = "https://github.com/mmaker/ocaml-letsencrypt/releases/download/v${finalAttrs.version}/letsencrypt-${finalAttrs.version}.tbz";
hash = "sha256-Iw55GffyG5tWA49hao1z9BX6p4N2+EKuhLIoOwG8EKM=";
};
@@ -57,4 +57,4 @@ buildDunePackage rec {
maintainers = [ lib.maintainers.sternenseemann ];
homepage = "https://github.com/mmaker/ocaml-letsencrypt";
};
}
})

View File

@@ -5,12 +5,12 @@
config,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "libc";
version = "0.0.1";
src = fetchurl {
url = "https://github.com/ocaml-sys/libc.ml/releases/download/${version}/libc-${version}.tbz";
url = "https://github.com/ocaml-sys/libc.ml/releases/download/${finalAttrs.version}/libc-${finalAttrs.version}.tbz";
hash = "sha256-e5x5Yae7V6qOpq+aLZaV+6L9ldy9qDqd9Kc8nkAsENg=";
};
@@ -23,4 +23,4 @@ buildDunePackage rec {
homepage = "https://github.com/ocaml-sys/libc.ml";
license = lib.licenses.mit;
};
}
})

View File

@@ -8,14 +8,14 @@
lilv,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "lilv";
version = "0.1.0";
src = fetchFromGitHub {
owner = "savonet";
repo = "ocaml-lilv";
rev = "v${version}";
rev = "v${finalAttrs.version}";
sha256 = "080ja8c4sxprk5qnldpfzxriag57m9603vny3b4bnwh5xm1id08c";
};
@@ -34,4 +34,4 @@ buildDunePackage rec {
license = lib.licenses.lgpl21Only;
maintainers = with lib.maintainers; [ dandellion ];
};
}
})

View File

@@ -5,7 +5,7 @@
result,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "linenoise";
version = "1.5.1";
@@ -13,8 +13,8 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "fxfactorial";
repo = "ocaml-${pname}";
rev = "v${version}";
repo = "ocaml-linenoise";
rev = "v${finalAttrs.version}";
sha256 = "sha256-yWBWMbk1anXaF4hIakTOcRZFCYmxI0xG3bHFFOAyEDA=";
};
@@ -24,6 +24,6 @@ buildDunePackage rec {
description = "OCaml bindings to linenoise";
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.vbgl ];
inherit (src.meta) homepage;
inherit (finalAttrs.src.meta) homepage;
};
}
})

View File

@@ -7,7 +7,7 @@
liblo,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "lo";
version = "0.2.0";
@@ -16,7 +16,7 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "savonet";
repo = "ocaml-lo";
rev = "v${version}";
rev = "v${finalAttrs.version}";
sha256 = "0mi8h6f6syxjkxz493l5c3l270pvxx33pz0k3v5465wqjsnppar2";
};
@@ -36,4 +36,4 @@ buildDunePackage rec {
license = lib.licenses.lgpl21Plus;
maintainers = with lib.maintainers; [ dandellion ];
};
}
})

View File

@@ -7,14 +7,14 @@
qcheck-alcotest,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "lru";
version = "0.3.1";
duneVersion = "3";
src = fetchurl {
url = "https://github.com/pqwy/lru/releases/download/v${version}/lru-${version}.tbz";
url = "https://github.com/pqwy/lru/releases/download/v${finalAttrs.version}/lru-${finalAttrs.version}.tbz";
hash = "sha256-bL4j0np9WyRPhpwLiBQNR/cPQTpkYu81wACTJdSyNv0=";
};
@@ -29,4 +29,4 @@ buildDunePackage rec {
maintainers = [ lib.maintainers.vbgl ];
license = lib.licenses.isc;
};
}
})

View File

@@ -3,7 +3,7 @@
fetchFromGitHub,
buildDunePackage,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "lua-ml";
version = "0.9.4";
@@ -12,14 +12,14 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "lindig";
repo = "lua-ml";
tag = version;
tag = finalAttrs.version;
hash = "sha256-kMBTHzmlrRWNpWwG321jYcM61rE1J3YQkygSrfnZ6Wc=";
};
meta = {
description = "Embeddable Lua 2.5 interpreter implemented in OCaml";
inherit (src.meta) homepage;
inherit (finalAttrs.src.meta) homepage;
license = lib.licenses.bsd2;
maintainers = [ lib.maintainers.vbgl ];
};
}
})

View File

@@ -4,14 +4,14 @@
fetchurl,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "lun";
version = "0.0.2";
minimalOCamlVersion = "4.12.0";
src = fetchurl {
url = "https://github.com/robur-coop/lun/releases/download/v${version}/lun-${version}.tbz";
url = "https://github.com/robur-coop/lun/releases/download/v${finalAttrs.version}/lun-${finalAttrs.version}.tbz";
hash = "sha256-1oqjTXY+/jJT1uQOV6iiK9qV9DAmERYsL2BtentmB8I=";
};
@@ -21,4 +21,4 @@ buildDunePackage rec {
license = lib.licenses.isc;
maintainers = [ ];
};
}
})

View File

@@ -8,14 +8,14 @@
yaml,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "lustre-v6";
version = "6.107.4";
minimalOCamlVersion = "4.12";
src = fetchurl {
url = "https://www-verimag.imag.fr/DIST-TOOLS/SYNCHRONE/pool/lustre-v6.v${version}.tgz";
url = "https://www-verimag.imag.fr/DIST-TOOLS/SYNCHRONE/pool/lustre-v6.v${finalAttrs.version}.tgz";
hash = "sha256-baT5ZJtg5oFoJ5eHb3ISsmY6G31UG10KlNXC+ta+M1c=";
};
@@ -36,4 +36,4 @@ buildDunePackage rec {
];
mainProgram = "lv6";
};
}
})

View File

@@ -6,14 +6,14 @@
num,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "lutils";
version = "1.54.1";
minimalOCamlVersion = "4.02";
src = fetchurl {
url = "https://www-verimag.imag.fr/DIST-TOOLS/SYNCHRONE/pool/lutils.v${version}.tgz";
url = "https://www-verimag.imag.fr/DIST-TOOLS/SYNCHRONE/pool/lutils.v${finalAttrs.version}.tgz";
hash = "sha512:d3c3b80286b1aa236ba922d9e18a133721fc80126c8b89520fb811dce9400e217aaa75b5d49e03988be7f6bf5f2e1a391d02ceeaa5ec0a0cd5ce218083a29514";
};
@@ -25,8 +25,8 @@ buildDunePackage rec {
meta = {
homepage = "https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/lutils/";
description = "Tools and libs shared by Verimag/synchronous tools (lustre, lutin, rdbg)";
changelog = "https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/lutils/-/releases/v${version}";
changelog = "https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/lutils/-/releases/v${finalAttrs.version}";
license = lib.licenses.cecill21;
mainProgram = "gnuplot-rif";
};
}
})

View File

@@ -14,12 +14,12 @@ let
version,
sha256,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "luv";
inherit version;
src = fetchurl {
url = "https://github.com/aantron/luv/releases/download/${version}/luv-${version}.tar.gz";
url = "https://github.com/aantron/luv/releases/download/${finalAttrs.version}/luv-${finalAttrs.version}.tar.gz";
inherit sha256;
};
@@ -52,7 +52,7 @@ let
sternenseemann
];
};
};
});
in
{
luv-0-5-12 = generic {

View File

@@ -5,7 +5,6 @@
eio,
lwt,
}:
buildDunePackage (finalAttrs: {
pname = "lwt_eio";
version = if lib.versionAtLeast lwt.version "6.0.0" then "0.6" else "0.5.1";

View File

@@ -6,14 +6,14 @@
lwt,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "lwt_ssl";
version = "1.2.0";
duneVersion = "3";
src = fetchurl {
url = "https://github.com/ocsigen/lwt_ssl/releases/download/${version}/lwt_ssl-${version}.tbz";
url = "https://github.com/ocsigen/lwt_ssl/releases/download/${finalAttrs.version}/lwt_ssl-${finalAttrs.version}.tbz";
hash = "sha256-swIK0nrs83fhw/J0Cgizbcu6mR+EMGZRE1dBBUiImnc=";
};
@@ -28,4 +28,4 @@ buildDunePackage rec {
license = lib.licenses.lgpl21;
maintainers = [ lib.maintainers.vbgl ];
};
}
})

View File

@@ -7,14 +7,14 @@
ounit2,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "macaddr";
version = "5.6.2";
minimalOCamlVersion = "4.04";
src = fetchurl {
url = "https://github.com/mirage/ocaml-ipaddr/releases/download/v${version}/ipaddr-${version}.tbz";
url = "https://github.com/mirage/ocaml-ipaddr/releases/download/v${finalAttrs.version}/ipaddr-${finalAttrs.version}.tbz";
hash = "sha256-CKP6bmQRSQtmYeWxAinqnsa4w3OOn2slWFmxPxRb4TY=";
};
@@ -30,4 +30,4 @@ buildDunePackage rec {
license = lib.licenses.isc;
maintainers = [ ];
};
}
})

View File

@@ -6,7 +6,7 @@
libmad,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "mad";
version = "0.5.3";
@@ -15,7 +15,7 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "savonet";
repo = "ocaml-mad";
rev = "v${version}";
rev = "v${finalAttrs.version}";
sha256 = "sha256-rSFzWyUYTrGL7GvVsY5qKdCXqY/XJQkuBerexG838jc=";
};
@@ -28,4 +28,4 @@ buildDunePackage rec {
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ dandellion ];
};
}
})

View File

@@ -4,12 +4,12 @@
buildDunePackage,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "magic-mime";
version = "1.3.1";
src = fetchurl {
url = "https://github.com/mirage/ocaml-magic-mime/releases/download/v${version}/magic-mime-${version}.tbz";
url = "https://github.com/mirage/ocaml-magic-mime/releases/download/v${finalAttrs.version}/magic-mime-${finalAttrs.version}.tbz";
hash = "sha256-4CNNA2Jduh76xY5X44dnLXWl6aYh/0ms/g9gnADxOwg=";
};
@@ -21,4 +21,4 @@ buildDunePackage rec {
license = lib.licenses.isc;
maintainers = with lib.maintainers; [ vbgl ];
};
}
})

View File

@@ -5,14 +5,14 @@
cudf,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "mccs";
version = "1.1+19";
src = fetchFromGitHub {
owner = "AltGr";
repo = "ocaml-mccs";
rev = version;
rev = finalAttrs.version;
hash = "sha256-xvcqPXyzVGXXFYRVdFPaCfieFEguWffWVB04ImEuPvQ=";
};
@@ -32,4 +32,4 @@ buildDunePackage rec {
];
maintainers = [ ];
};
}
})

View File

@@ -12,11 +12,11 @@
bisect_ppx,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "mec";
version = "0.1.0";
src = fetchzip {
url = "https://gitlab.com/nomadic-labs/cryptography/ocaml-ec/-/archive/${version}/ocaml-ec-${version}.tar.bz2";
url = "https://gitlab.com/nomadic-labs/cryptography/ocaml-ec/-/archive/${finalAttrs.version}/ocaml-ec-${finalAttrs.version}.tar.bz2";
sha256 = "sha256-uIcGj/exSfuuzsv6C/bnJXpYRu3OY3dcKMW/7+qwi2U=";
};
@@ -48,4 +48,4 @@ buildDunePackage rec {
license = lib.licenses.mit;
maintainers = [ lib.maintainers.ulrikstrid ];
};
}
})

View File

@@ -7,13 +7,13 @@
ppxlib,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "melange-json";
version = "2.0.0";
src = fetchFromGitHub {
owner = "melange-community";
repo = "melange-json";
tag = version;
tag = finalAttrs.version;
hash = "sha256-vgcvPRc2vEHE1AtHyttvs1T0LcoeTOFfmPUCz95goT0=";
};
@@ -29,4 +29,4 @@ buildDunePackage rec {
lib.maintainers.vog
];
};
}
})

View File

@@ -4,14 +4,14 @@
buildDunePackage,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "mem_usage";
version = "0.1.2";
src = fetchFromGitHub {
owner = "savonet";
repo = "ocaml-mem_usage";
rev = "v${version}";
rev = "v${finalAttrs.version}";
hash = "sha256-5tQNsqbiU9oJvKHUjeTo/ST4A0Axc95gdJISLaa9VRM=";
};
@@ -25,4 +25,4 @@ buildDunePackage rec {
description = "Cross-platform memory usage information";
maintainers = [ lib.maintainers.vbgl ];
};
}
})

View File

@@ -5,14 +5,14 @@
ocaml,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "memprof-limits";
version = "0.2.1";
src = fetchFromGitLab {
owner = "gadmm";
repo = pname;
rev = "v${version}";
repo = "memprof-limits";
rev = "v${finalAttrs.version}";
hash = "sha256-Pmuln5TihPoPZuehZlqPfERif6lf7O+0454kW9y3aKc=";
};
@@ -25,4 +25,4 @@ buildDunePackage rec {
maintainers = with lib.maintainers; [ alizter ];
broken = !(lib.versionOlder ocaml.version "5.0.0");
};
}
})

View File

@@ -4,23 +4,23 @@
fetchFromGitHub,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "memtrace";
version = "0.2.3";
src = fetchFromGitHub {
owner = "janestreet";
repo = pname;
rev = "v${version}";
repo = "memtrace";
rev = "v${finalAttrs.version}";
hash = "sha256-dWkTrN8ZgNUz7BW7Aut8mfx8o4n8f6UZaDv/7rbbwNs=";
};
minimalOCamlVersion = "4.11";
meta = {
homepage = "https://github.com/janestreet/${pname}";
homepage = "https://github.com/janestreet/memtrace";
description = "Streaming client for OCaml's Memprof";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ niols ];
};
}
})

View File

@@ -5,12 +5,12 @@
cppo,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "merlin-extend";
version = "0.6.2";
src = fetchurl {
url = "https://github.com/let-def/merlin-extend/releases/download/v${version}/merlin-extend-${version}.tbz";
url = "https://github.com/let-def/merlin-extend/releases/download/v${finalAttrs.version}/merlin-extend-${finalAttrs.version}.tbz";
hash = "sha256-R1WOfzC2RGLyucgvt/eHEzrPoNUTJFK2rXhI4LD013k=";
};
@@ -22,4 +22,4 @@ buildDunePackage rec {
license = lib.licenses.mit;
maintainers = [ ];
};
}
})

View File

@@ -4,14 +4,14 @@
fetchFromGitHub,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "metadata";
version = "0.3.2";
src = fetchFromGitHub {
owner = "savonet";
repo = "ocaml-metadata";
tag = "v${version}";
tag = "v${finalAttrs.version}";
sha256 = "sha256-g76R1ziRv3VDl0IEJOm626m/ywDz+qgHtQg0uPb0MCU=";
};
@@ -23,4 +23,4 @@ buildDunePackage rec {
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ dandellion ];
};
}
})

View File

@@ -6,14 +6,14 @@
fmt,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "metrics";
version = "0.5.0";
minimalOCamlVersion = "4.04";
src = fetchurl {
url = "https://github.com/mirage/metrics/releases/download/v${version}/metrics-${version}.tbz";
url = "https://github.com/mirage/metrics/releases/download/v${finalAttrs.version}/metrics-${finalAttrs.version}.tbz";
sha256 = "sha256-3zVjgJCdBkYbzQl+9gY8qfPFE2X0dqeXwDZktTwFcV0=";
};
@@ -30,4 +30,4 @@ buildDunePackage rec {
maintainers = [ lib.maintainers.vbgl ];
};
}
})

View File

@@ -5,14 +5,14 @@
alcotest,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "middleware";
version = "0.0.1";
minimalOCamlVersion = "4.14.0";
src = fetchurl {
url = "https://github.com/skolemlabs/middleware/releases/download/${version}/${pname}-${version}.tbz";
url = "https://github.com/skolemlabs/middleware/releases/download/${finalAttrs.version}/middleware-${finalAttrs.version}.tbz";
hash = "sha256-zhLEGvyZiKrdBKWcEbB4PHvYzBlkrp1Ldnon0mP2Ypg=";
};
@@ -25,8 +25,8 @@ buildDunePackage rec {
meta = {
description = "Composable stacked functions, which can respond to inner calls";
homepage = "https://github.com/skolemlabs/middleware";
changelog = "https://github.com/skolemlabs/middleware/blob/${version}/CHANGES.md";
changelog = "https://github.com/skolemlabs/middleware/blob/${finalAttrs.version}/CHANGES.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sixstring982 ];
};
}
})

View File

@@ -12,14 +12,14 @@
bigstringaf,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "mimic";
version = "0.0.9";
minimalOCamlVersion = "4.08";
src = fetchurl {
url = "https://github.com/dinosaure/mimic/releases/download/${version}/mimic-${version}.tbz";
url = "https://github.com/dinosaure/mimic/releases/download/${finalAttrs.version}/mimic-${finalAttrs.version}.tbz";
hash = "sha256-lU3xzrVIqSKnhUQIhaXRamr39zXWw3DtNdM5EUtp4p8=";
};
@@ -44,4 +44,4 @@ buildDunePackage rec {
homepage = "https://github.com/mirage/ocaml-git";
maintainers = [ lib.maintainers.sternenseemann ];
};
}
})

View File

@@ -6,14 +6,14 @@
tty,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "minttea";
version = "0.0.3";
minimalOCamlVersion = "5.1";
src = fetchurl {
url = "https://github.com/leostera/minttea/releases/download/${version}/minttea-${version}.tbz";
url = "https://github.com/leostera/minttea/releases/download/${finalAttrs.version}/minttea-${finalAttrs.version}.tbz";
hash = "sha256-WEaJVCCvsmKcF8+yzovljt8dGWaIv4UmAr74jq6Vo9M=";
};
@@ -25,8 +25,8 @@ buildDunePackage rec {
meta = {
description = "Fun, functional, and stateful way to build terminal apps in OCaml heavily inspired by Go's BubbleTea";
homepage = "https://github.com/leostera/minttea";
changelog = "https://github.com/leostera/minttea/blob/${version}/CHANGES.md";
changelog = "https://github.com/leostera/minttea/blob/${finalAttrs.version}/CHANGES.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sixstring982 ];
};
}
})