pkgs/development/ocaml-modules: remove unused arguments

This commit is contained in:
Sigmanificient 2024-07-16 03:40:28 +02:00
parent e563f19ad8
commit 3e1227a1af
116 changed files with 106 additions and 154 deletions

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, alcotest, logs, lwt, fmt
{ buildDunePackage, alcotest, logs, lwt, fmt
, re, cmdliner
}:

View File

@ -1,5 +1,4 @@
{ lib
, fetchurl
{ fetchurl
, buildDunePackage
, topkg
, findlib

View File

@ -1,4 +1,4 @@
{ buildDunePackage, alcotest, atd, atdgen-codec-runtime, atdgen-runtime, biniou, re, yojson
{ buildDunePackage, alcotest, atd, atdgen-codec-runtime, atdgen-runtime, re
, python3
}:

View File

@ -2,7 +2,7 @@
, ppx_sexp_conv
, mirage-crypto, mirage-crypto-ec, mirage-crypto-rng, mirage-crypto-pk
, x509, cstruct, cstruct-unix, cstruct-sexp, sexplib, eqaf-cstruct
, rresult, mtime, logs, fmt, cmdliner, base64
, mtime, logs, fmt, cmdliner, base64
, zarith
}:

View File

@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, buildDunePackage, ocaml, qtest, qcheck, num, camlp-streams
{ lib, fetchFromGitHub, buildDunePackage, ocaml, qtest, qcheck, num, camlp-streams
, doCheck ? lib.versionAtLeast ocaml.version "4.08"
}:

View File

@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, buildDunePackage, ocaml, alcotest, bigarray-compat, pkg-config }:
{ lib, fetchFromGitHub, buildDunePackage, alcotest, pkg-config }:
buildDunePackage rec {
pname = "bigstringaf";

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, async_kernel, async_unix, caqti, core_kernel }:
{ buildDunePackage, async_kernel, async_unix, caqti, core_kernel }:
buildDunePackage {
pname = "caqti-async";

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, caqti, mariadb }:
{ buildDunePackage, caqti, mariadb }:
buildDunePackage {
pname = "caqti-driver-mariadb";

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, caqti, postgresql }:
{ buildDunePackage, caqti, postgresql }:
buildDunePackage {
pname = "caqti-driver-postgresql";

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, caqti, ocaml_sqlite3, alcotest }:
{ buildDunePackage, caqti, ocaml_sqlite3, alcotest }:
buildDunePackage {
pname = "caqti-driver-sqlite3";

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, caqti, findlib }:
{ buildDunePackage, caqti, findlib }:
buildDunePackage {
pname = "caqti-dynload";

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, caqti, logs, lwt }:
{ buildDunePackage, caqti, logs, lwt }:
buildDunePackage {
pname = "caqti-lwt";

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, calendar, caqti }:
{ buildDunePackage, calendar, caqti }:
buildDunePackage {
pname = "caqti-type-calendar";

View File

@ -1,8 +1,6 @@
{ buildDunePackage, carton, carton-lwt
, bigstringaf, lwt, fpath, result
, fmt, decompress, astring
, alcotest, alcotest-lwt, cstruct, logs
, mirage-flow, rresult, ke
}:
buildDunePackage {

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg, result }:
{ lib, stdenv, fetchurl, ocaml }:
assert (lib.versionAtLeast ocaml.version "4.03");

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg, result }:
{ lib, stdenv, fetchurl, ocaml }:
lib.throwIfNot (lib.versionAtLeast ocaml.version "4.08")
"cmdliner 1.1 is not available for OCaml ${ocaml.version}"

View File

@ -1,5 +1,4 @@
{ lib
, buildDunePackage
{ buildDunePackage
, ppx_sexp_conv
, base
, async

View File

@ -1,6 +1,6 @@
{ lib, fetchurl, buildDunePackage
, ppx_sexp_conv, base64, jsonm, re, stringext, uri-sexp
, ocaml, fmt, alcotest
, fmt, alcotest
, crowbar
}:

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage
{ buildDunePackage
, cohttp, cohttp-lwt, logs, lwt, js_of_ocaml, js_of_ocaml-ppx, js_of_ocaml-lwt
, nodejs, lwt_ppx
}:

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, cohttp-lwt
{ buildDunePackage, cohttp-lwt
, conduit-lwt-unix, conduit-lwt, ppx_sexp_conv
, cmdliner, fmt, logs, magic-mime
, ounit

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, cohttp, lwt, uri, ppx_sexp_conv, logs, sexplib0 }:
{ buildDunePackage, cohttp, lwt, uri, ppx_sexp_conv, logs, sexplib0 }:
buildDunePackage {
pname = "cohttp-lwt";

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, cohttp }:
{ buildDunePackage, cohttp }:
buildDunePackage {
pname = "cohttp-top";

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, async, async_ssl ? null, ppx_sexp_conv, ppx_here, uri, conduit
{ buildDunePackage, async, async_ssl ? null, ppx_sexp_conv, ppx_here, uri, conduit
, core, ipaddr, ipaddr-sexp, sexplib
}:

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, cstruct, async_unix, async, core }:
{ buildDunePackage, cstruct, async_unix, async, core }:
buildDunePackage rec {
pname = "cstruct-async";

View File

@ -1,4 +1,4 @@
{ lib, ocamlPackages }:
{ ocamlPackages }:
let inherit (ocamlPackages) buildDunePackage csv uutf; in

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, csv, lwt }:
{ buildDunePackage, csv, lwt }:
buildDunePackage {
pname = "csv-lwt";

View File

@ -1,5 +1,5 @@
{ stdenv, lib, buildDunePackage, fetchurl, ocaml
, result, alcotest, cohttp-lwt-unix, odoc, curl, cacert
, result, alcotest, cohttp-lwt-unix, curl, cacert
}:
buildDunePackage rec {

View File

@ -9,8 +9,6 @@
, hex
, json-data-encoding
, json-data-encoding-bson
, alcotest
, crowbar
, ppx_expect
}:

View File

@ -1,9 +1,8 @@
{ lib, buildDunePackage, dns, dns-client, lwt, mirage-clock, mirage-time
, mirage-random, mirage-crypto-rng, mtime, randomconv
, cstruct, fmt, logs, rresult, domain-name, ipaddr, alcotest
, ca-certs, ca-certs-nss
{ buildDunePackage, dns, dns-client, lwt
, mirage-crypto-rng, mtime
, ipaddr, alcotest
, ca-certs
, happy-eyeballs
, tcpip
, tls-lwt
}:

View File

@ -1,7 +1,7 @@
{ lib, buildDunePackage, dns, dns-client, lwt, mirage-clock, mirage-time
, mirage-random, mirage-crypto-rng, mtime, randomconv
, cstruct, fmt, logs, rresult, domain-name, ipaddr, alcotest
, ca-certs, ca-certs-nss
{ buildDunePackage, dns, dns-client, lwt, mirage-clock, mirage-time
, mirage-random
, domain-name, ipaddr
, ca-certs-nss
, happy-eyeballs
, tcpip
, tls, tls-mirage

View File

@ -1,10 +1,6 @@
{ lib, buildDunePackage, dns, lwt, mirage-clock, mirage-time
, mirage-random, mirage-crypto-rng, mtime, randomconv
, cstruct, fmt, logs, rresult, domain-name, ipaddr, alcotest
, ca-certs, ca-certs-nss
, happy-eyeballs
, tcpip
, tls, tls-mirage
{ buildDunePackage, dns
, mirage-crypto-rng, mtime, randomconv
, domain-name, alcotest
}:
buildDunePackage {

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, dune_3, ordering }:
{ buildDunePackage, dune_3, ordering }:
buildDunePackage {
pname = "dyn";

View File

@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, ocaml, buildDunePackage
{ lib, fetchFromGitHub, buildDunePackage
, stdlib-shims
}:

View File

@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, ocaml, buildDunePackage
{ lib, fetchFromGitHub, buildDunePackage
, cmdliner, dap, fmt, iter, logs, lru, lwt_ppx, lwt_react, menhir, menhirLib, path_glob, ppx_deriving_yojson
, ppx_optcomp
, gitUpdater

View File

@ -5,7 +5,6 @@
, bigstringaf
, cstruct
, domain-local-await
, dune-configurator
, fetchurl
, fmt
, hmap

View File

@ -1,7 +1,6 @@
{ lib
, buildDunePackage
, fetchurl
, ocaml
, angstrom
, ipaddr
, base64

View File

@ -1,4 +1,4 @@
{ buildDunePackage, lib, faraday, core_unix ? null, async }:
{ buildDunePackage, faraday, core_unix ? null, async }:
buildDunePackage rec {
pname = "faraday-async";

View File

@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, buildDunePackage, ocaml, alcotest, bigstringaf }:
{ lib, fetchFromGitHub, buildDunePackage, alcotest, bigstringaf }:
buildDunePackage rec {
pname = "faraday";

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, ff-pbt, ff-sig, zarith, alcotest }:
{ buildDunePackage, ff-pbt, ff-sig, zarith, alcotest }:
buildDunePackage rec {
pname = "ff";

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, zarith, ff-sig, alcotest }:
{ buildDunePackage, zarith, ff-sig, alcotest }:
buildDunePackage {
pname = "ff-pbt";

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, callPackage
{ buildDunePackage, callPackage
, ffmpeg-base ? callPackage ./base.nix { }
, ffmpeg-avutil
, ffmpeg-avcodec

View File

@ -2,7 +2,6 @@
, buildDunePackage
, dyn
, fetchurl
, ocaml
, ppx_expect
, stdune
}:

View File

@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, buildDunePackage, ocaml
{ lib, fetchFromGitHub, buildDunePackage
, camlp-streams, cppo, cryptokit, ocurl, yojson
, ounit2
}:

View File

@ -1,5 +1,4 @@
{ lib
, buildDunePackage
{ buildDunePackage
, git
, mimic
, mimic-happy-eyeballs

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage
{ buildDunePackage
, git
, mimic
, paf

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, github
{ buildDunePackage, github
, yojson, atdgen
}:

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, github
{ buildDunePackage, github
, cohttp, cohttp-lwt-jsoo, js_of_ocaml-lwt
}:

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, github
{ buildDunePackage, github
, cohttp, cohttp-lwt-unix, stringext, cmdliner, lwt
}:

View File

@ -1,5 +1,4 @@
{
lib,
buildDunePackage,
gitlab,
cohttp,

View File

@ -1,5 +1,4 @@
{
lib,
buildDunePackage,
gitlab,
cmdliner,

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, gluten, eio }:
{ buildDunePackage, gluten, eio }:
buildDunePackage {
pname = "gluten-eio";

View File

@ -1,7 +1,5 @@
{ buildDunePackage
, lib
, fetchFromGitHub
, ocaml
, hpack
, angstrom
, faraday

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, hacl-star-raw, zarith, cppo, alcotest, secp256k1-internal, qcheck-core, cstruct }:
{ buildDunePackage, hacl-star-raw, zarith, cppo, alcotest, secp256k1-internal, qcheck-core, cstruct }:
buildDunePackage {

View File

@ -2,11 +2,9 @@
, which
, stdenv
, fetchzip
, opaline
, cmake
, ocaml
, findlib
, hacl-star
, ctypes
, cppo
}:

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage
{ buildDunePackage
, httpaf
, faraday-lwt-unix
, lwt

View File

@ -1,7 +1,6 @@
{ lib
, fetchurl
, buildDunePackage
, ocaml
, decompress
, stdlib-shims
, alcotest

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage
{ buildDunePackage
, ipaddr, cstruct
}:

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage
{ buildDunePackage
, ipaddr, ipaddr-cstruct, ounit2, ppx_sexp_conv
}:

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, irmin, irmin-test, fmt, logs, lwt, alcotest }:
{ buildDunePackage, irmin, irmin-test, fmt, logs, lwt, alcotest }:
buildDunePackage rec {

View File

@ -1,5 +1,5 @@
{ lib, buildDunePackage
, astring, digestif, fmt, jsonm, logs, ocaml_lwt, ocamlgraph, uri
{ buildDunePackage
, astring, digestif, fmt, jsonm, logs, ocamlgraph, uri
, repr, ppx_irmin, bheap, uutf, mtime, lwt, optint
, vector, hex, alcotest, qcheck-alcotest
}:

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, irmin, astring, logs, lwt
{ buildDunePackage, irmin, astring, logs, lwt
, alcotest, irmin-test, irmin-watcher
}:

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage
{ buildDunePackage
, git, irmin, ppx_irmin, git-unix, irmin-watcher
, digestif, cstruct, fmt, astring, fpath, logs, lwt, uri
, cohttp-lwt-unix, mimic

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, cohttp-lwt, cohttp-lwt-unix, graphql-cohttp, graphql-lwt, irmin, git-unix
{ buildDunePackage, cohttp-lwt, cohttp-lwt-unix, graphql-cohttp, graphql-lwt, irmin, git-unix
, alcotest, alcotest-lwt, logs, yojson, cacert
}:

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage
{ buildDunePackage
, index, ppx_irmin, irmin, optint, fmt, logs, lwt, mtime, cmdliner, checkseum, rusage
, alcotest, alcotest-lwt, astring, irmin-test
}:

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, json-data-encoding, ocplib-endian, crowbar, alcotest }:
{ buildDunePackage, json-data-encoding, ocplib-endian, crowbar, alcotest }:
buildDunePackage {
pname = "json-data-encoding-bson";

View File

@ -1,5 +1,4 @@
{ lib, buildDunePackage, fetchurl
, bigarray-compat, fmt
{ lib, buildDunePackage, fetchurl, fmt
, alcotest, bigstringaf
}:

View File

@ -1,8 +1,6 @@
{ lib
, buildDunePackage
, fetchFromGitHub
, pkg-config
, dune-configurator
, re
, xmlplaylist
}:

View File

@ -1,7 +1,6 @@
{ stdenv
, fetchFromGitHub
, lib
, ncurses
, makeWrapper
, ocamlbuild
, findlib

View File

@ -1,5 +1,4 @@
{ lib
, buildDunePackage
{ buildDunePackage
, letsencrypt
, letsencrypt-dns
, cmdliner

View File

@ -10,7 +10,6 @@
, mirage-crypto
, mirage-crypto-ec
, mirage-crypto-pk
, mirage-crypto-rng
, x509
, yojson
, ounit

View File

@ -1,5 +1,4 @@
{ lib
, buildDunePackage
{ buildDunePackage
, letsencrypt
, logs
, fmt

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, linol, jsonrpc, lwt, yojson }:
{ buildDunePackage, linol, jsonrpc, lwt, yojson }:
buildDunePackage {
pname = "linol-lwt";

View File

@ -1,5 +1,5 @@
{ lib, fetchFromGitHub, libev, buildDunePackage
, ocaml, cppo, dune-configurator, ocplib-endian
, cppo, dune-configurator, ocplib-endian
}:
buildDunePackage rec {

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, fetchFromGitHub, cppo, lwt, react }:
{ buildDunePackage, fetchFromGitHub, cppo, lwt, react }:
buildDunePackage {
pname = "lwt_react";

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage
{ buildDunePackage
, macaddr, cstruct
}:

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage
{ buildDunePackage
, macaddr, ppx_sexp_conv, macaddr-cstruct, ounit2
}:

View File

@ -1,4 +1,4 @@
{ lib, fetchzip, buildDunePackage, ocaml
{ lib, fetchzip, buildDunePackage
, zarith, eqaf, bigarray-compat, hex, ff-sig, ff
, alcotest, bisect_ppx
}:

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, pkg-config, ogg, flac }:
{ lib, buildDunePackage, fetchFromGitHub }:
buildDunePackage rec {
pname = "metadata";

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, metrics
{ buildDunePackage, metrics
, fmt, logs
}:

View File

@ -1,5 +1,4 @@
{ lib
, buildDunePackage
{ buildDunePackage
, mirage-clock
}:

View File

@ -1,4 +1,4 @@
{ buildDunePackage, mirage-console, lwt, cstruct, cstruct-lwt }:
{ buildDunePackage, mirage-console, cstruct, cstruct-lwt }:
buildDunePackage {
pname = "mirage-console-unix";

View File

@ -1,5 +1,4 @@
{ lib
, ocaml
, buildDunePackage
, mirage-crypto
, dune-configurator

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage
{ buildDunePackage
, mirage-crypto, mirage-crypto-rng
, dune-configurator, async, logs
}:

View File

@ -1,4 +1,4 @@
{ buildDunePackage, mirage-flow, fmt, lwt, logs, cstruct, mirage-clock }:
{ buildDunePackage, mirage-flow, lwt, logs, cstruct, mirage-clock }:
buildDunePackage {
pname = "mirage-flow-combinators";

View File

@ -1,5 +1,4 @@
{ lib
, buildDunePackage
{ buildDunePackage
, netchannel
, ppx_sexp_conv
, lwt

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, ocaml, alcotest
{ buildDunePackage, ocaml, alcotest
, functoria, mirage-runtime, bos
, ipaddr, astring, logs, stdlib-shims
}:

View File

@ -14,7 +14,6 @@
, re
, stdune
, chrome-trace
, dune_3
, csexp
, result
, pp

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage
{ buildDunePackage
, pbrt
, stdlib-shims
}:

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, buildTopkgPackage, cmdliner, odoc, b0 }:
{ lib, fetchurl, buildTopkgPackage, cmdliner, odoc, b0 }:
buildTopkgPackage rec {
pname = "odig";

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, dune_3 }:
{ buildDunePackage, dune_3 }:
buildDunePackage {
pname = "ordering";

View File

@ -1,4 +1,4 @@
{ lib, ocaml, buildDunePackage, fetchurl, seq, stdlib-shims, ncurses }:
{ lib, buildDunePackage, fetchurl, seq, stdlib-shims, ncurses }:
buildDunePackage rec {
minimalOCamlVersion = "4.08";

View File

@ -1,5 +1,4 @@
{ lib
, buildDunePackage
{ buildDunePackage
, paf
, cohttp-lwt
, domain-name

View File

@ -6,12 +6,9 @@
, gluten-lwt-unix
, lib
, logs
, lwt_ssl
, magic-mime
, mrmime
, pecu
, psq
, ssl
, uri
}:

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, posix-base }:
{ buildDunePackage, posix-base }:
buildDunePackage {
pname = "posix-socket";

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, posix-base }:
{ buildDunePackage, posix-base }:
buildDunePackage {
pname = "posix-types";

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, ppx_deriving, ppxlib, repr, alcotest, hex }:
{ buildDunePackage, ppx_deriving, ppxlib, repr, alcotest, hex }:
buildDunePackage {
pname = "ppx_repr";

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, resto, uri }:
{ buildDunePackage, resto, uri }:
buildDunePackage {
pname = "resto-acl";

View File

@ -1,5 +1,4 @@
{ lib
, buildDunePackage
{ buildDunePackage
, resto
, resto-directory
, resto-acl

View File

@ -1,5 +1,4 @@
{ lib
, buildDunePackage
{ buildDunePackage
, resto
, resto-directory
, resto-acl

View File

@ -1,4 +1,4 @@
{ lib, buildDunePackage, resto, resto-json, lwt }:
{ buildDunePackage, resto, lwt }:
buildDunePackage {
pname = "resto-directory";

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