ocamlPackages.resto: remove at 1.2

This commit is contained in:
Ulrik Strid
2025-08-27 14:30:11 +02:00
committed by Vincent Laporte
parent c753399ffe
commit be67eb0d5c
9 changed files with 0 additions and 224 deletions
@@ -1,23 +0,0 @@
{
buildDunePackage,
resto,
uri,
}:
buildDunePackage {
pname = "resto-acl";
inherit (resto)
src
version
meta
doCheck
;
minimalOCamlVersion = "4.10";
duneVersion = "3";
propagatedBuildInputs = [
resto
uri
];
}
@@ -1,27 +0,0 @@
{
buildDunePackage,
resto,
resto-directory,
resto-cohttp,
uri,
lwt,
}:
buildDunePackage {
pname = "resto-cohttp-client";
inherit (resto)
src
version
meta
doCheck
;
duneVersion = "3";
propagatedBuildInputs = [
resto
resto-directory
resto-cohttp
uri
lwt
];
}
@@ -1,33 +0,0 @@
{
buildDunePackage,
resto,
resto-directory,
resto-acl,
resto-cohttp,
resto-cohttp-client,
resto-cohttp-server,
uri,
lwt,
}:
buildDunePackage {
pname = "resto-cohttp-self-serving-client";
inherit (resto)
src
version
meta
doCheck
;
duneVersion = "3";
propagatedBuildInputs = [
resto
resto-directory
resto-acl
resto-cohttp
resto-cohttp-client
resto-cohttp-server
uri
lwt
];
}
@@ -1,31 +0,0 @@
{
buildDunePackage,
resto,
resto-directory,
resto-acl,
resto-cohttp,
cohttp-lwt-unix,
conduit-lwt-unix,
lwt,
}:
buildDunePackage {
pname = "resto-cohttp-server";
inherit (resto)
src
version
meta
doCheck
;
duneVersion = "3";
propagatedBuildInputs = [
resto
resto-directory
resto-acl
resto-cohttp
cohttp-lwt-unix
conduit-lwt-unix
lwt
];
}
@@ -1,23 +0,0 @@
{
buildDunePackage,
resto,
resto-directory,
cohttp-lwt,
}:
buildDunePackage {
pname = "resto-cohttp";
inherit (resto)
src
version
meta
doCheck
;
duneVersion = "3";
propagatedBuildInputs = [
resto
resto-directory
cohttp-lwt
];
}
@@ -1,32 +0,0 @@
{
lib,
fetchFromGitLab,
buildDunePackage,
uri,
}:
buildDunePackage rec {
pname = "resto";
version = "1.2";
duneVersion = "3";
src = fetchFromGitLab {
owner = "nomadic-labs";
repo = "resto";
rev = "v${version}";
hash = "sha256-VdkYUy7Fi53ku6F/1FV55/VcyF/tDZKN4NTMabDd/T4=";
};
propagatedBuildInputs = [
uri
];
# resto has infinite recursion in their tests
doCheck = false;
meta = {
description = "Minimal OCaml library for type-safe HTTP/JSON RPCs";
homepage = "https://gitlab.com/nomadic-labs/resto";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.ulrikstrid ];
};
}
@@ -1,21 +0,0 @@
{
buildDunePackage,
resto,
lwt,
}:
buildDunePackage {
pname = "resto-directory";
inherit (resto)
src
version
meta
doCheck
;
duneVersion = "3";
propagatedBuildInputs = [
resto
lwt
];
}
@@ -1,23 +0,0 @@
{
buildDunePackage,
resto,
json-data-encoding,
json-data-encoding-bson,
}:
buildDunePackage {
pname = "resto-json";
inherit (resto)
src
version
meta
doCheck
;
duneVersion = "3";
propagatedBuildInputs = [
resto
json-data-encoding
json-data-encoding-bson
];
}
-11
View File
@@ -1833,17 +1833,6 @@ let
resource-pooling = callPackage ../development/ocaml-modules/resource-pooling { };
resto = callPackage ../development/ocaml-modules/resto { };
resto-acl = callPackage ../development/ocaml-modules/resto/acl.nix { };
resto-cohttp = callPackage ../development/ocaml-modules/resto/cohttp.nix { };
resto-cohttp-client = callPackage ../development/ocaml-modules/resto/cohttp-client.nix { };
resto-cohttp-self-serving-client =
callPackage ../development/ocaml-modules/resto/cohttp-self-serving-client.nix
{ };
resto-cohttp-server = callPackage ../development/ocaml-modules/resto/cohttp-server.nix { };
resto-directory = callPackage ../development/ocaml-modules/resto/directory.nix { };
resto-json = callPackage ../development/ocaml-modules/resto/json.nix { };
result = callPackage ../development/ocaml-modules/ocaml-result { };
rfc7748 = callPackage ../development/ocaml-modules/rfc7748 { };