Loading pkgs/development/ocaml-modules/curl/default.nix 0 → 100644 +34 −0 Original line number Diff line number Diff line { buildDunePackage, pkg-config, dune-configurator, fetchurl, lib, curl, }: buildDunePackage (finalAttrs: { pname = "curl"; version = "0.10.0"; minimalOCamlVersion = "4.11"; src = fetchurl { url = "https://github.com/ygrek/ocurl/releases/download/${finalAttrs.version}/curl-${finalAttrs.version}.tbz"; hash = "sha256-wU4hX9p/lCkqdY2a6Q97y8IVZMkZGQBkAR/M3PehKRQ="; }; nativeBuildInputs = [ pkg-config ]; buildInputs = [ dune-configurator ]; propagatedBuildInputs = [ curl ]; checkInputs = [ ]; doCheck = true; meta = { description = "Bindings to libcurl"; homepage = "https://ygrek.org/p/ocurl/"; license = lib.licenses.mit; maintainers = [ lib.maintainers.vog ]; }; }) pkgs/development/ocaml-modules/curl/lwt.nix 0 → 100644 +23 −0 Original line number Diff line number Diff line { buildDunePackage, curl, lib, lwt, }: buildDunePackage (finalAttrs: { pname = "curl_lwt"; inherit (curl) version src; propagatedBuildInputs = [ curl lwt ]; checkInputs = [ ]; doCheck = true; meta = curl.meta // { description = "Bindings to libcurl (lwt variant)"; }; }) pkgs/development/ocaml-modules/ocurl/default.nix +1 −1 Original line number Diff line number Diff line Loading @@ -34,7 +34,7 @@ stdenv.mkDerivation rec { createFindlibDestdir = true; meta = { description = "OCaml bindings to libcurl"; description = "OCaml bindings to libcurl (deprecated)"; license = lib.licenses.mit; homepage = "http://ygrek.org.ua/p/ocurl/"; maintainers = with lib.maintainers; [ Loading pkgs/top-level/ocaml-packages.nix +4 −1 Original line number Diff line number Diff line Loading @@ -358,6 +358,9 @@ let cudf = callPackage ../development/ocaml-modules/cudf { }; curl = callPackage ../development/ocaml-modules/curl { inherit (pkgs) curl; }; curl_lwt = callPackage ../development/ocaml-modules/curl/lwt.nix { }; curly = callPackage ../development/ocaml-modules/curly { inherit (pkgs) curl; }; Loading Loading @@ -1606,7 +1609,7 @@ let octavius = callPackage ../development/ocaml-modules/octavius { }; ocurl = callPackage ../development/ocaml-modules/ocurl { }; ocurl = callPackage ../development/ocaml-modules/ocurl { inherit (pkgs) curl; }; odate = callPackage ../development/ocaml-modules/odate { }; Loading Loading
pkgs/development/ocaml-modules/curl/default.nix 0 → 100644 +34 −0 Original line number Diff line number Diff line { buildDunePackage, pkg-config, dune-configurator, fetchurl, lib, curl, }: buildDunePackage (finalAttrs: { pname = "curl"; version = "0.10.0"; minimalOCamlVersion = "4.11"; src = fetchurl { url = "https://github.com/ygrek/ocurl/releases/download/${finalAttrs.version}/curl-${finalAttrs.version}.tbz"; hash = "sha256-wU4hX9p/lCkqdY2a6Q97y8IVZMkZGQBkAR/M3PehKRQ="; }; nativeBuildInputs = [ pkg-config ]; buildInputs = [ dune-configurator ]; propagatedBuildInputs = [ curl ]; checkInputs = [ ]; doCheck = true; meta = { description = "Bindings to libcurl"; homepage = "https://ygrek.org/p/ocurl/"; license = lib.licenses.mit; maintainers = [ lib.maintainers.vog ]; }; })
pkgs/development/ocaml-modules/curl/lwt.nix 0 → 100644 +23 −0 Original line number Diff line number Diff line { buildDunePackage, curl, lib, lwt, }: buildDunePackage (finalAttrs: { pname = "curl_lwt"; inherit (curl) version src; propagatedBuildInputs = [ curl lwt ]; checkInputs = [ ]; doCheck = true; meta = curl.meta // { description = "Bindings to libcurl (lwt variant)"; }; })
pkgs/development/ocaml-modules/ocurl/default.nix +1 −1 Original line number Diff line number Diff line Loading @@ -34,7 +34,7 @@ stdenv.mkDerivation rec { createFindlibDestdir = true; meta = { description = "OCaml bindings to libcurl"; description = "OCaml bindings to libcurl (deprecated)"; license = lib.licenses.mit; homepage = "http://ygrek.org.ua/p/ocurl/"; maintainers = with lib.maintainers; [ Loading
pkgs/top-level/ocaml-packages.nix +4 −1 Original line number Diff line number Diff line Loading @@ -358,6 +358,9 @@ let cudf = callPackage ../development/ocaml-modules/cudf { }; curl = callPackage ../development/ocaml-modules/curl { inherit (pkgs) curl; }; curl_lwt = callPackage ../development/ocaml-modules/curl/lwt.nix { }; curly = callPackage ../development/ocaml-modules/curly { inherit (pkgs) curl; }; Loading Loading @@ -1606,7 +1609,7 @@ let octavius = callPackage ../development/ocaml-modules/octavius { }; ocurl = callPackage ../development/ocaml-modules/ocurl { }; ocurl = callPackage ../development/ocaml-modules/ocurl { inherit (pkgs) curl; }; odate = callPackage ../development/ocaml-modules/odate { }; Loading