Loading pkgs/development/ocaml-modules/uring/default.nix 0 → 100644 +53 −0 Original line number Diff line number Diff line { lib , buildDunePackage , cstruct , dune-configurator , fetchurl , fmt , optint , mdx }: buildDunePackage rec { pname = "uring"; version = "0.5"; minimalOCamlVersion = "4.12"; duneVersion = "3"; src = fetchurl { url = "https://github.com/ocaml-multicore/ocaml-uring/releases/download/v${version}/${pname}-${version}.tbz"; sha256 = "106w7mabqihdhj4csk9jfqag220rwhqdp5lapn0xmw2035scvxvk"; }; propagatedBuildInputs = [ cstruct fmt optint ]; buildInputs = [ dune-configurator ]; checkInputs = [ mdx ]; nativeCheckInputs = [ mdx.bin ]; doCheck = true; dontStrip = true; meta = { homepage = "https://github.com/ocaml-multicore/ocaml-${pname}"; changelog = "https://github.com/ocaml-multicore/ocaml-${pname}/raw/v${version}/CHANGES.md"; description = "Bindings to io_uring for OCaml"; license = with lib.licenses; [ isc mit ]; platforms = lib.platforms.linux; maintainers = with lib.maintainers; [ toastal ]; }; } pkgs/top-level/ocaml-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -1624,6 +1624,8 @@ let uri-sexp = callPackage ../development/ocaml-modules/uri/sexp.nix { }; uring = callPackage ../development/ocaml-modules/uring { }; utop = callPackage ../development/tools/ocaml/utop { }; uucd = callPackage ../development/ocaml-modules/uucd { }; Loading Loading
pkgs/development/ocaml-modules/uring/default.nix 0 → 100644 +53 −0 Original line number Diff line number Diff line { lib , buildDunePackage , cstruct , dune-configurator , fetchurl , fmt , optint , mdx }: buildDunePackage rec { pname = "uring"; version = "0.5"; minimalOCamlVersion = "4.12"; duneVersion = "3"; src = fetchurl { url = "https://github.com/ocaml-multicore/ocaml-uring/releases/download/v${version}/${pname}-${version}.tbz"; sha256 = "106w7mabqihdhj4csk9jfqag220rwhqdp5lapn0xmw2035scvxvk"; }; propagatedBuildInputs = [ cstruct fmt optint ]; buildInputs = [ dune-configurator ]; checkInputs = [ mdx ]; nativeCheckInputs = [ mdx.bin ]; doCheck = true; dontStrip = true; meta = { homepage = "https://github.com/ocaml-multicore/ocaml-${pname}"; changelog = "https://github.com/ocaml-multicore/ocaml-${pname}/raw/v${version}/CHANGES.md"; description = "Bindings to io_uring for OCaml"; license = with lib.licenses; [ isc mit ]; platforms = lib.platforms.linux; maintainers = with lib.maintainers; [ toastal ]; }; }
pkgs/top-level/ocaml-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -1624,6 +1624,8 @@ let uri-sexp = callPackage ../development/ocaml-modules/uri/sexp.nix { }; uring = callPackage ../development/ocaml-modules/uring { }; utop = callPackage ../development/tools/ocaml/utop { }; uucd = callPackage ../development/ocaml-modules/uucd { }; Loading