diff options
author | Ulrik Strid <ulrik.strid@outlook.com> | 2022-04-20 09:31:14 +0200 |
---|---|---|
committer | Yt <raphael@megzari.com> | 2022-04-27 22:23:09 -0400 |
commit | 6cf368ed0e35e71118a35d8896f64e0d00c5161e (patch) | |
tree | 0a7fb100cb2d75526892ffa7f5b187453a9a9ea5 /pkgs | |
parent | 2627bb20f913f1b3a982758383f7dd3192c7f47f (diff) | |
download | nixpkgs-6cf368ed0e35e71118a35d8896f64e0d00c5161e.tar nixpkgs-6cf368ed0e35e71118a35d8896f64e0d00c5161e.tar.gz nixpkgs-6cf368ed0e35e71118a35d8896f64e0d00c5161e.tar.bz2 nixpkgs-6cf368ed0e35e71118a35d8896f64e0d00c5161e.tar.lz nixpkgs-6cf368ed0e35e71118a35d8896f64e0d00c5161e.tar.xz nixpkgs-6cf368ed0e35e71118a35d8896f64e0d00c5161e.tar.zst nixpkgs-6cf368ed0e35e71118a35d8896f64e0d00c5161e.zip |
ocamlPackages.tezos: remove
Diffstat (limited to 'pkgs')
61 files changed, 0 insertions, 1881 deletions
diff --git a/pkgs/development/ocaml-modules/tezos/010-PtGRANAD-test-helpers.nix b/pkgs/development/ocaml-modules/tezos/010-PtGRANAD-test-helpers.nix deleted file mode 100644 index fe2664333e3..00000000000 --- a/pkgs/development/ocaml-modules/tezos/010-PtGRANAD-test-helpers.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-stdlib-unix -, tezos-base -, tezos-shell-services -, tezos-protocol-environment -, tezos-protocol-010-PtGRANAD -, tezos-protocol-010-PtGRANAD-parameters -, tezos-client-010-PtGRANAD -, alcotest-lwt -}: - -buildDunePackage { - pname = "tezos-010-PtGRANAD-test-helpers"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/proto_010_PtGRANAD/lib_protocol/test/helpers"; - - propagatedBuildInputs = [ - tezos-base - tezos-stdlib-unix - tezos-shell-services - tezos-protocol-environment - tezos-protocol-010-PtGRANAD - tezos-protocol-010-PtGRANAD-parameters - tezos-client-010-PtGRANAD - alcotest-lwt - ]; - - checkInputs = [ - alcotest-lwt - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos/Protocol: protocol testing framework"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/011-PtHangz2-test-helpers.nix b/pkgs/development/ocaml-modules/tezos/011-PtHangz2-test-helpers.nix deleted file mode 100644 index 589d6465b20..00000000000 --- a/pkgs/development/ocaml-modules/tezos/011-PtHangz2-test-helpers.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-base -, tezos-client-011-PtHangz2 -, tezos-protocol-011-PtHangz2 -, tezos-protocol-011-PtHangz2-parameters -, tezos-protocol-environment -, tezos-shell-services -, tezos-stdlib-unix -, tezos-test-helpers -}: - -buildDunePackage { - pname = "tezos-011-PtHangz2-test-helpers"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src"; - - propagatedBuildInputs = [ - tezos-base - tezos-client-011-PtHangz2 - tezos-protocol-011-PtHangz2 - tezos-protocol-011-PtHangz2-parameters - tezos-protocol-environment - tezos-shell-services - tezos-stdlib-unix - tezos-test-helpers - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos/Protocol: protocol testing framework"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/base-test-helpers.nix b/pkgs/development/ocaml-modules/tezos/base-test-helpers.nix deleted file mode 100644 index d9a8307bd30..00000000000 --- a/pkgs/development/ocaml-modules/tezos/base-test-helpers.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ lib -, buildDunePackage -, alcotest -, alcotest-lwt -, tezos-base -, tezos-event-logging-test-helpers -, tezos-stdlib -, tezos-test-helpers -}: - -buildDunePackage { - pname = "tezos-base-test-helpers"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/lib_base/test_helpers"; - - propagatedBuildInputs = [ - alcotest - alcotest-lwt - tezos-base - tezos-event-logging-test-helpers - ]; - - checkInputs = [ - tezos-test-helpers - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos: base test helpers"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/base.nix b/pkgs/development/ocaml-modules/tezos/base.nix deleted file mode 100644 index 544daa297ac..00000000000 --- a/pkgs/development/ocaml-modules/tezos/base.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-crypto -, tezos-hacl-glue-unix -, tezos-micheline -, tezos-test-helpers -, ptime -, ipaddr -, bls12-381-unix -}: - -buildDunePackage { - pname = "tezos-base"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/lib_base"; - - propagatedBuildInputs = [ - tezos-crypto - tezos-micheline - tezos-hacl-glue-unix - bls12-381-unix - ptime - ipaddr - ]; - - checkInputs = [ - # tezos-test-helpers - ]; - - # circular dependency if we add this - doCheck = false; - - meta = tezos-stdlib.meta // { - description = "Tezos: meta-package and pervasive type definitions for Tezos"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/clic.nix b/pkgs/development/ocaml-modules/tezos/clic.nix deleted file mode 100644 index 863ecb8df45..00000000000 --- a/pkgs/development/ocaml-modules/tezos/clic.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-stdlib-unix -, alcotest -, alcotest-lwt -}: - -buildDunePackage { - pname = "tezos-clic"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/lib_clic"; - - propagatedBuildInputs = [ - tezos-stdlib-unix - ]; - - checkInputs = [ - alcotest - alcotest-lwt - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos: library of auto-documented command-line-parsing combinators"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/client-010-PtGRANAD.nix b/pkgs/development/ocaml-modules/tezos/client-010-PtGRANAD.nix deleted file mode 100644 index 55a98454508..00000000000 --- a/pkgs/development/ocaml-modules/tezos/client-010-PtGRANAD.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-mockup-registration -, tezos-proxy -, tezos-signer-backends -, tezos-protocol-010-PtGRANAD-parameters -, tezos-protocol-plugin-010-PtGRANAD -, alcotest-lwt -, ppx_inline_test -, cacert -}: - -buildDunePackage { - pname = "tezos-client-010-PtGRANAD"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/proto_010_PtGRANAD/lib_client"; - - propagatedBuildInputs = [ - tezos-mockup-registration - tezos-proxy - tezos-signer-backends - tezos-protocol-010-PtGRANAD-parameters - tezos-protocol-plugin-010-PtGRANAD - ppx_inline_test - ]; - - checkInputs = [ - alcotest-lwt - cacert - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos/Protocol: protocol specific library for `tezos-client`"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/client-011-PtHangz2.nix b/pkgs/development/ocaml-modules/tezos/client-011-PtHangz2.nix deleted file mode 100644 index ec564f70f3b..00000000000 --- a/pkgs/development/ocaml-modules/tezos/client-011-PtHangz2.nix +++ /dev/null @@ -1,44 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-mockup-registration -, tezos-proxy -, tezos-signer-backends -, tezos-protocol-011-PtHangz2-parameters -, tezos-protocol-plugin-011-PtHangz2 -, alcotest-lwt -, cacert -, ppx_inline_test -, qcheck-alcotest -, tezos-base-test-helpers -, tezos-test-helpers -}: - -buildDunePackage { - pname = "tezos-client-011-PtHangz2"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src"; - - propagatedBuildInputs = [ - tezos-mockup-registration - tezos-proxy - tezos-signer-backends - tezos-protocol-011-PtHangz2-parameters - tezos-protocol-plugin-011-PtHangz2 - ppx_inline_test - ]; - - checkInputs = [ - alcotest-lwt - cacert - qcheck-alcotest - tezos-base-test-helpers - tezos-test-helpers - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos/Protocol: protocol specific library for `tezos-client`"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/client-base.nix b/pkgs/development/ocaml-modules/tezos/client-base.nix deleted file mode 100644 index f2503481720..00000000000 --- a/pkgs/development/ocaml-modules/tezos/client-base.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-shell-services -, tezos-sapling -, alcotest -}: - -buildDunePackage { - pname = "tezos-client-base"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/lib_client_base"; - - propagatedBuildInputs = [ - tezos-shell-services - tezos-sapling - ]; - - checkInputs = [ - alcotest - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos: protocol registration for the mockup mode"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/context.nix b/pkgs/development/ocaml-modules/tezos/context.nix deleted file mode 100644 index e118c3e1ebe..00000000000 --- a/pkgs/development/ocaml-modules/tezos/context.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-base -, tezos-shell-services -, irmin -, irmin-pack -, digestif -, alcotest-lwt -}: - -buildDunePackage { - pname = "tezos-context"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/lib_context"; - - propagatedBuildInputs = [ - tezos-base - tezos-shell-services - irmin - irmin-pack - digestif - ]; - - checkInputs = [ - alcotest-lwt - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos: library of auto-documented RPCs (service and hierarchy descriptions)"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/crypto.nix b/pkgs/development/ocaml-modules/tezos/crypto.nix deleted file mode 100644 index 532e8fc12b2..00000000000 --- a/pkgs/development/ocaml-modules/tezos/crypto.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-rpc -, tezos-clic -, tezos-hacl-glue -, tezos-hacl-glue-unix -, secp256k1-internal -, ringo -, bls12-381 -, bls12-381-unix -, tezos-test-helpers -, alcotest-lwt -}: - -buildDunePackage { - pname = "tezos-crypto"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/lib_crypto"; - - propagatedBuildInputs = [ - tezos-rpc - tezos-clic - tezos-hacl-glue - tezos-hacl-glue-unix - secp256k1-internal - ringo - bls12-381 - bls12-381-unix - ]; - - checkInputs = [ - tezos-test-helpers - alcotest-lwt - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos: library with all the cryptographic primitives used by Tezos"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/embedded-protocol-010-PtGRANAD.nix b/pkgs/development/ocaml-modules/tezos/embedded-protocol-010-PtGRANAD.nix deleted file mode 100644 index e2b9a8e8d79..00000000000 --- a/pkgs/development/ocaml-modules/tezos/embedded-protocol-010-PtGRANAD.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-protocol-010-PtGRANAD -, tezos-protocol-updater -}: - -buildDunePackage { - pname = "tezos-embedded-protocol-010-PtGRANAD"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src"; - - propagatedBuildInputs = [ - tezos-protocol-010-PtGRANAD - tezos-protocol-updater - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos/Protocol: economic-protocol definition, embedded in `tezos-node`"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/embedded-protocol-demo-noops.nix b/pkgs/development/ocaml-modules/tezos/embedded-protocol-demo-noops.nix deleted file mode 100644 index abe4aed67eb..00000000000 --- a/pkgs/development/ocaml-modules/tezos/embedded-protocol-demo-noops.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-protocol-demo-noops -, tezos-protocol-updater -}: - -buildDunePackage { - pname = "tezos-embedded-protocol-demo-noops"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src"; - - propagatedBuildInputs = [ - tezos-protocol-demo-noops - tezos-protocol-updater - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos/Protocol: demo_noops (economic-protocol definition, embedded in `tezos-node`)"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/error-monad.nix b/pkgs/development/ocaml-modules/tezos/error-monad.nix deleted file mode 100644 index cbebf1e51c6..00000000000 --- a/pkgs/development/ocaml-modules/tezos/error-monad.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, data-encoding -, lwt -, lwt-canceler -, tezos-lwt-result-stdlib -, alcotest -, alcotest-lwt -}: - -buildDunePackage { - pname = "tezos-error-monad"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/lib_error_monad"; - - propagatedBuildInputs = [ - tezos-stdlib - data-encoding - lwt - lwt-canceler - tezos-lwt-result-stdlib - ]; - - checkInputs = [ - alcotest - alcotest-lwt - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos: error monad"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/event-logging-test-helpers.nix b/pkgs/development/ocaml-modules/tezos/event-logging-test-helpers.nix deleted file mode 100644 index 0407277bde9..00000000000 --- a/pkgs/development/ocaml-modules/tezos/event-logging-test-helpers.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ lib -, buildDunePackage -, alcotest -, tezos-event-logging -, tezos-stdlib -, tezos-test-helpers -}: - -buildDunePackage { - pname = "tezos-event-logging-test-helpers"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/lib_event_logging/test_helpers/"; - - propagatedBuildInputs = [ - alcotest - tezos-event-logging - tezos-test-helpers - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos: test helpers for the event logging library"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/event-logging.nix b/pkgs/development/ocaml-modules/tezos/event-logging.nix deleted file mode 100644 index 75b4a5d0643..00000000000 --- a/pkgs/development/ocaml-modules/tezos/event-logging.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-error-monad -, data-encoding -, lwt_log -, lwt -}: - -buildDunePackage { - pname = "tezos-event-logging"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/lib_event_logging"; - - propagatedBuildInputs = [ - tezos-stdlib - tezos-error-monad - data-encoding - lwt_log - lwt - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos: event logging library"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/hacl-glue-unix.nix b/pkgs/development/ocaml-modules/tezos/hacl-glue-unix.nix deleted file mode 100644 index 5c8afad0f2a..00000000000 --- a/pkgs/development/ocaml-modules/tezos/hacl-glue-unix.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-hacl-glue -, ctypes -, hacl-star -}: - -buildDunePackage { - pname = "tezos-hacl-glue-unix"; - - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/lib_hacl_glue/unix"; - - propagatedBuildInputs = [ - ctypes - hacl-star - tezos-hacl-glue - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos: thin layer of glue around hacl-star (unix implementation)"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/hacl-glue.nix b/pkgs/development/ocaml-modules/tezos/hacl-glue.nix deleted file mode 100644 index 409d04bb266..00000000000 --- a/pkgs/development/ocaml-modules/tezos/hacl-glue.nix +++ /dev/null @@ -1,17 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -}: - -buildDunePackage { - pname = "tezos-hacl-glue"; - - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/lib_hacl_glue/virtual"; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos: thin layer of glue around hacl-star (virtual package)"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/legacy-store.nix b/pkgs/development/ocaml-modules/tezos/legacy-store.nix deleted file mode 100644 index b6d9f20df3c..00000000000 --- a/pkgs/development/ocaml-modules/tezos/legacy-store.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-context -, tezos-lmdb -, tezos-validation -, tezos-shell-services -, tezos-protocol-compiler -, lwt-watcher -, alcotest-lwt -}: - -buildDunePackage { - pname = "tezos-legacy-store"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/lib_store/legacy_store"; - - propagatedBuildInputs = [ - tezos-context - tezos-lmdb - tezos-validation - tezos-shell-services - lwt-watcher - ]; - - nativeBuildInputs = [ - tezos-protocol-compiler - ]; - - strictDeps = true; - - checkInputs = [ - alcotest-lwt - ]; - - # A lot of extra deps with wide dependency cones needed - doCheck = false; - - meta = tezos-stdlib.meta // { - description = "Tezos: custom economic-protocols environment implementation for `tezos-client` and testing"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/lmdb.nix b/pkgs/development/ocaml-modules/tezos/lmdb.nix deleted file mode 100644 index 5b5690707ab..00000000000 --- a/pkgs/development/ocaml-modules/tezos/lmdb.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ lib -, fetchFromGitLab -, pkg-config -, buildDunePackage -, lmdb -, rresult -, cstruct -, alcotest -}: - -let - version = "7.4"; - src = fetchFromGitLab { - owner = "tezos"; - repo = "tezos"; - rev = "v${version}"; - sha256 = "0sghc60xzr02pmmkr626pnhzrnczf7mki7qyxzzfn7rbbdbrf4wp"; - }; -in - -buildDunePackage { - pname = "tezos-lmdb"; - version = version; - src = "${src}/vendors/ocaml-lmdb"; - - useDune2 = true; - - nativeBuildInputs = [ - pkg-config - ]; - - propagatedBuildInputs = [ - rresult - lmdb - ]; - - strictDeps = true; - - checkInputs = [ - cstruct - alcotest - ]; - - doCheck = false; - - meta = { - description = "Legacy Tezos OCaml binding to LMDB (Consider ocaml-lmdb instead)"; - license = lib.licenses.isc; - maintainers = [ lib.maintainers.ulrikstrid ]; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/lwt-result-stdlib.nix b/pkgs/development/ocaml-modules/tezos/lwt-result-stdlib.nix deleted file mode 100644 index fd209741b3f..00000000000 --- a/pkgs/development/ocaml-modules/tezos/lwt-result-stdlib.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ lib -, buildDunePackage -, ocaml -, tezos-stdlib -, lwt -, alcotest-lwt -, tezos-test-helpers -}: - -buildDunePackage { - pname = "tezos-lwt-result-stdlib"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/lib_lwt_result_stdlib"; - - minimalOCamlVersion = "4.12"; - - propagatedBuildInputs = [ - lwt - ]; - - checkInputs = [ - alcotest-lwt - tezos-test-helpers - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos: error-aware stdlib replacement"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/micheline.nix b/pkgs/development/ocaml-modules/tezos/micheline.nix deleted file mode 100644 index c28e8f89745..00000000000 --- a/pkgs/development/ocaml-modules/tezos/micheline.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-error-monad -, uutf -, alcotest -, alcotest-lwt -, ppx_inline_test -}: - -buildDunePackage { - pname = "tezos-micheline"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/lib_micheline"; - - propagatedBuildInputs = [ - tezos-error-monad - uutf - ppx_inline_test - ]; - - checkInputs = [ - alcotest - alcotest-lwt - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos: internal AST and parser for the Michelson language"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/mockup-proxy.nix b/pkgs/development/ocaml-modules/tezos/mockup-proxy.nix deleted file mode 100644 index d949439fcee..00000000000 --- a/pkgs/development/ocaml-modules/tezos/mockup-proxy.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-client-base -, tezos-protocol-environment -, tezos-rpc-http-client -, resto-cohttp-self-serving-client -}: - -buildDunePackage { - pname = "tezos-mockup-proxy"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/lib_mockup_proxy"; - - propagatedBuildInputs = [ - tezos-client-base - tezos-protocol-environment - tezos-rpc-http-client - resto-cohttp-self-serving-client - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos: local RPCs"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/mockup-registration.nix b/pkgs/development/ocaml-modules/tezos/mockup-registration.nix deleted file mode 100644 index 651c89a5986..00000000000 --- a/pkgs/development/ocaml-modules/tezos/mockup-registration.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-client-base -, tezos-protocol-environment -}: - -buildDunePackage { - pname = "tezos-mockup-registration"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/lib_mockup"; - - propagatedBuildInputs = [ - tezos-client-base - tezos-protocol-environment - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos: protocol registration for the mockup mode"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/p2p-services.nix b/pkgs/development/ocaml-modules/tezos/p2p-services.nix deleted file mode 100644 index da15852aa97..00000000000 --- a/pkgs/development/ocaml-modules/tezos/p2p-services.nix +++ /dev/null @@ -1,19 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-base -}: - -buildDunePackage { - pname = "tezos-p2p-services"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/lib_p2p_services"; - - propagatedBuildInputs = [ - tezos-base - ]; - - meta = tezos-stdlib.meta // { - description = "Tezos: descriptions of RPCs exported by `tezos-p2p`"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/p2p.nix b/pkgs/development/ocaml-modules/tezos/p2p.nix deleted file mode 100644 index bdaabfda1b7..00000000000 --- a/pkgs/development/ocaml-modules/tezos/p2p.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ lib -, buildDunePackage -, alcotest-lwt -, astring -, lwt -, lwt-canceler -, lwt-watcher -, ringo -, tezos-base-test-helpers -, tezos-p2p-services -, tezos-stdlib -}: - -buildDunePackage { - pname = "tezos-p2p"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/lib_p2p"; - - propagatedBuildInputs = [ - lwt - lwt-canceler - lwt-watcher - ringo - tezos-p2p-services - ]; - - checkInputs = [ - alcotest-lwt - astring - tezos-base-test-helpers - ]; - - doCheck = false; # some tests fail - - meta = tezos-stdlib.meta // { - description = "Tezos: library for a pool of P2P connections"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/protocol-010-PtGRANAD-parameters.nix b/pkgs/development/ocaml-modules/tezos/protocol-010-PtGRANAD-parameters.nix deleted file mode 100644 index 832ca9df30c..00000000000 --- a/pkgs/development/ocaml-modules/tezos/protocol-010-PtGRANAD-parameters.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-protocol-010-PtGRANAD -, tezos-protocol-environment -}: - -buildDunePackage { - pname = "tezos-protocol-010-PtGRANAD-parameters"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/proto_010_PtGRANAD/lib_parameters"; - - propagatedBuildInputs = [ - tezos-protocol-010-PtGRANAD - tezos-protocol-environment - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos/Protocol: parameters"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/protocol-010-PtGRANAD.nix b/pkgs/development/ocaml-modules/tezos/protocol-010-PtGRANAD.nix deleted file mode 100644 index 85dc33dc98f..00000000000 --- a/pkgs/development/ocaml-modules/tezos/protocol-010-PtGRANAD.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-protocol-compiler -, tezos-protocol-environment -}: - -buildDunePackage { - pname = "tezos-protocol-010-PtGRANAD"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src"; - - nativeBuildInputs = [ - tezos-protocol-compiler - ]; - - buildInputs = [ - tezos-protocol-environment - ]; - - strictDeps = true; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos/Protocol: economic-protocol definition"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/protocol-011-PtHangz2-parameters.nix b/pkgs/development/ocaml-modules/tezos/protocol-011-PtHangz2-parameters.nix deleted file mode 100644 index 26b05e56f85..00000000000 --- a/pkgs/development/ocaml-modules/tezos/protocol-011-PtHangz2-parameters.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-protocol-011-PtHangz2 -, tezos-protocol-environment -}: - -buildDunePackage { - pname = "tezos-protocol-011-PtHangz2-parameters"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src"; - - propagatedBuildInputs = [ - tezos-protocol-011-PtHangz2 - tezos-protocol-environment - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos/Protocol: parameters"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/protocol-011-PtHangz2.nix b/pkgs/development/ocaml-modules/tezos/protocol-011-PtHangz2.nix deleted file mode 100644 index 3cfb8cced04..00000000000 --- a/pkgs/development/ocaml-modules/tezos/protocol-011-PtHangz2.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-protocol-compiler -, tezos-protocol-environment -}: - -buildDunePackage { - pname = "tezos-protocol-011-PtHangz2"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src"; - - nativeBuildInputs = [ - tezos-protocol-compiler - ]; - - buildInputs = [ - tezos-protocol-environment - ]; - - strictDeps = true; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos/Protocol: economic-protocol definition"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/protocol-alpha.nix b/pkgs/development/ocaml-modules/tezos/protocol-alpha.nix deleted file mode 100644 index df31eeeefb8..00000000000 --- a/pkgs/development/ocaml-modules/tezos/protocol-alpha.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-protocol-compiler -}: - -buildDunePackage { - pname = "tezos-protocol-alpha"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src"; - - propagatedBuildInputs = [ - tezos-protocol-compiler - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos/Protocol: economic-protocol definition"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/protocol-compiler.nix b/pkgs/development/ocaml-modules/tezos/protocol-compiler.nix deleted file mode 100644 index ac72c518e82..00000000000 --- a/pkgs/development/ocaml-modules/tezos/protocol-compiler.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ lib -, buildDunePackage -, ocaml -, tezos-stdlib -, tezos-version -, tezos-protocol-environment -, ocp-ocamlres -, pprint -}: - -if lib.versionAtLeast ocaml.version "4.13" then - throw "tezos-protocol-compiler-${tezos-stdlib.version} is not available for OCaml > 4.12" -else - -buildDunePackage { - pname = "tezos-protocol-compiler"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/lib_protocol_compiler"; - - minimalOCamlVersion = "4.12"; - - propagatedBuildInputs = [ - tezos-version - tezos-protocol-environment - ocp-ocamlres - pprint - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos: economic-protocol compiler"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/protocol-demo-noops.nix b/pkgs/development/ocaml-modules/tezos/protocol-demo-noops.nix deleted file mode 100644 index 02958401ff8..00000000000 --- a/pkgs/development/ocaml-modules/tezos/protocol-demo-noops.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-protocol-compiler -}: - -buildDunePackage { - pname = "tezos-protocol-demo-noops"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/"; - - propagatedBuildInputs = [ - tezos-protocol-compiler - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos/Protocol: demo_noops economic-protocol definition"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/protocol-environment-packer.nix b/pkgs/development/ocaml-modules/tezos/protocol-environment-packer.nix deleted file mode 100644 index 3aa5e0f6fca..00000000000 --- a/pkgs/development/ocaml-modules/tezos/protocol-environment-packer.nix +++ /dev/null @@ -1,18 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -}: - -buildDunePackage { - pname = "tezos-protocol-environment-packer"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/lib_protocol_environment"; - - minimalOCamlVersion = "4.03"; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos: sigs/structs packer for economic protocol environment"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/protocol-environment-sigs.nix b/pkgs/development/ocaml-modules/tezos/protocol-environment-sigs.nix deleted file mode 100644 index dfd3fd14fe3..00000000000 --- a/pkgs/development/ocaml-modules/tezos/protocol-environment-sigs.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ lib -, buildDunePackage -, ocaml -, tezos-stdlib -, tezos-protocol-environment-packer -, zarith -}: - -buildDunePackage { - pname = "tezos-protocol-environment-sigs"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/lib_protocol_environment"; - - minimalOCamlVersion = "4.12"; - - postPatch = '' - ls ./sigs/v0 - cp -f ${zarith}/lib/ocaml/${ocaml.version}/site-lib/zarith/z.mli ./sigs/v1/z.mli - cp -f ${zarith}/lib/ocaml/${ocaml.version}/site-lib/zarith/z.mli ./sigs/v2/z.mli - cp -f ${zarith}/lib/ocaml/${ocaml.version}/site-lib/zarith/z.mli ./sigs/v3/z.mli - sed -i 's/out_channel/Stdlib.out_channel/g' ./sigs/v1/z.mli - sed -i 's/Buffer/Stdlib.Buffer/g' ./sigs/v1/z.mli - sed -i 's/out_channel/Stdlib.out_channel/g' ./sigs/v2/z.mli - sed -i 's/Buffer/Stdlib.Buffer/g' ./sigs/v2/z.mli - sed -i 's/out_channel/Stdlib.out_channel/g' ./sigs/v3/z.mli - sed -i 's/Buffer/Stdlib.Buffer/g' ./sigs/v3/z.mli - ''; - - propagatedBuildInputs = [ - tezos-protocol-environment-packer - ]; - - checkInputs = [ - tezos-stdlib - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos: restricted typing environment for the economic protocols"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/protocol-environment-structs.nix b/pkgs/development/ocaml-modules/tezos/protocol-environment-structs.nix deleted file mode 100644 index c55578b5605..00000000000 --- a/pkgs/development/ocaml-modules/tezos/protocol-environment-structs.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-crypto -, tezos-protocol-environment-packer -, bls12-381-legacy -}: - -buildDunePackage { - pname = "tezos-protocol-environment-structs"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/lib_protocol_environment"; - - propagatedBuildInputs = [ - tezos-crypto - tezos-protocol-environment-packer - bls12-381-legacy - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos: restricted typing environment for the economic protocols"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/protocol-environment.nix b/pkgs/development/ocaml-modules/tezos/protocol-environment.nix deleted file mode 100644 index f3e8bc42c54..00000000000 --- a/pkgs/development/ocaml-modules/tezos/protocol-environment.nix +++ /dev/null @@ -1,43 +0,0 @@ -{ lib -, ocaml -, buildDunePackage -, bls12-381 -, bls12-381-legacy -, tezos-stdlib -, tezos-base -, tezos-sapling -, tezos-context -, tezos-protocol-environment-sigs -, tezos-protocol-environment-structs -, tezos-test-helpers -, zarith -, alcotest-lwt -}: - -buildDunePackage { - pname = "tezos-protocol-environment"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/lib_protocol_environment"; - - propagatedBuildInputs = [ - bls12-381 - bls12-381-legacy - tezos-sapling - tezos-base - tezos-context - tezos-protocol-environment-sigs - tezos-protocol-environment-structs - zarith # this might break, since they actually want 1.11 - ]; - - checkInputs = [ - alcotest-lwt - tezos-test-helpers - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos: custom economic-protocols environment implementation for `tezos-client` and testing"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/protocol-plugin-010-PtGRANAD.nix b/pkgs/development/ocaml-modules/tezos/protocol-plugin-010-PtGRANAD.nix deleted file mode 100644 index 8e80b3c65d3..00000000000 --- a/pkgs/development/ocaml-modules/tezos/protocol-plugin-010-PtGRANAD.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-protocol-010-PtGRANAD -, tezos-protocol-environment -}: - -buildDunePackage { - pname = "tezos-protocol-plugin-010-PtGRANAD"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/proto_010_PtGRANAD/lib_plugin"; - - buildInputs = [ - tezos-protocol-010-PtGRANAD - tezos-protocol-environment - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos/Protocol: protocol plugin registerer"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/protocol-plugin-011-PtHangz2.nix b/pkgs/development/ocaml-modules/tezos/protocol-plugin-011-PtHangz2.nix deleted file mode 100644 index 79333e04617..00000000000 --- a/pkgs/development/ocaml-modules/tezos/protocol-plugin-011-PtHangz2.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-protocol-011-PtHangz2 -, tezos-protocol-environment -}: - -buildDunePackage { - pname = "tezos-protocol-plugin-011-PtHangz2"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src"; - - buildInputs = [ - tezos-protocol-011-PtHangz2 - tezos-protocol-environment - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos/Protocol: protocol plugin"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/protocol-plugin-alpha.nix b/pkgs/development/ocaml-modules/tezos/protocol-plugin-alpha.nix deleted file mode 100644 index 588a420a890..00000000000 --- a/pkgs/development/ocaml-modules/tezos/protocol-plugin-alpha.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-protocol-alpha -}: - -buildDunePackage { - pname = "tezos-protocol-plugin-alpha"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src"; - - propagatedBuildInputs = [ - tezos-protocol-alpha - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos/Protocol: protocol plugin"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/protocol-updater.nix b/pkgs/development/ocaml-modules/tezos/protocol-updater.nix deleted file mode 100644 index 29aaa8be734..00000000000 --- a/pkgs/development/ocaml-modules/tezos/protocol-updater.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ lib -, ocaml -, buildDunePackage -, tezos-stdlib -, tezos-protocol-compiler -, tezos-shell-context -, lwt-exit -}: - -buildDunePackage { - pname = "tezos-protocol-updater"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/lib_protocol_updater"; - - propagatedBuildInputs = [ - tezos-shell-context - lwt-exit - tezos-protocol-compiler - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos: economic-protocol dynamic loading for `tezos-node`"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/proxy.nix b/pkgs/development/ocaml-modules/tezos/proxy.nix deleted file mode 100644 index 91ed6ab2340..00000000000 --- a/pkgs/development/ocaml-modules/tezos/proxy.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-mockup-proxy -, tezos-context -, ringo-lwt -, alcotest-lwt -, qcheck-alcotest -, tezos-base-test-helpers -, tezos-shell-services-test-helpers -}: - -buildDunePackage { - pname = "tezos-proxy"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/lib_proxy"; - - propagatedBuildInputs = [ - ringo-lwt - tezos-mockup-proxy - tezos-context - ]; - - checkInputs = [ - alcotest-lwt - qcheck-alcotest - tezos-base-test-helpers - tezos-shell-services-test-helpers - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos: protocol registration for the mockup mode"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/requester.nix b/pkgs/development/ocaml-modules/tezos/requester.nix deleted file mode 100644 index 35e426feb29..00000000000 --- a/pkgs/development/ocaml-modules/tezos/requester.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-base -, lwt-watcher -, alcotest-lwt -, qcheck-alcotest -, tezos-base-test-helpers -, tezos-test-helpers -}: - -buildDunePackage { - pname = "tezos-requester"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/lib_requester"; - - propagatedBuildInputs = [ - tezos-base - lwt-watcher - ]; - - checkInputs = [ - alcotest-lwt - qcheck-alcotest - tezos-base-test-helpers - tezos-test-helpers - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos: generic resource fetching service"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/rpc-http-client-unix.nix b/pkgs/development/ocaml-modules/tezos/rpc-http-client-unix.nix deleted file mode 100644 index 246618ce076..00000000000 --- a/pkgs/development/ocaml-modules/tezos/rpc-http-client-unix.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-rpc-http-client -, cohttp-lwt-unix -}: - -buildDunePackage { - pname = "tezos-rpc-http-client-unix"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/lib_rpc_http"; - - propagatedBuildInputs = [ - tezos-rpc-http-client - cohttp-lwt-unix - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos: unix implementation of the RPC client"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/rpc-http-client.nix b/pkgs/development/ocaml-modules/tezos/rpc-http-client.nix deleted file mode 100644 index 54cb71617bb..00000000000 --- a/pkgs/development/ocaml-modules/tezos/rpc-http-client.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-rpc-http -, resto-cohttp-client -}: - -buildDunePackage { - pname = "tezos-rpc-http-client"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/lib_rpc_http"; - - propagatedBuildInputs = [ - tezos-rpc-http - resto-cohttp-client - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos: library of auto-documented RPCs (http client)"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/rpc-http.nix b/pkgs/development/ocaml-modules/tezos/rpc-http.nix deleted file mode 100644 index 56fda87f93d..00000000000 --- a/pkgs/development/ocaml-modules/tezos/rpc-http.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-base -, resto-directory -, resto-cohttp -}: - -buildDunePackage { - pname = "tezos-rpc-http"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/lib_rpc_http"; - - propagatedBuildInputs = [ - tezos-base - resto-directory - resto-cohttp - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos: library of auto-documented RPCs (http server and client)"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/rpc.nix b/pkgs/development/ocaml-modules/tezos/rpc.nix deleted file mode 100644 index f8a1336146e..00000000000 --- a/pkgs/development/ocaml-modules/tezos/rpc.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-error-monad -, resto -, resto-directory -}: - -buildDunePackage { - pname = "tezos-rpc"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/lib_rpc"; - - propagatedBuildInputs = [ - tezos-error-monad - resto - resto-directory - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos: library of auto-documented RPCs (service and hierarchy descriptions)"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/sapling.nix b/pkgs/development/ocaml-modules/tezos/sapling.nix deleted file mode 100644 index 59e61d49af0..00000000000 --- a/pkgs/development/ocaml-modules/tezos/sapling.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ lib -, buildDunePackage -, ocaml -, tezos-stdlib -, tezos-crypto -, tezos-rust-libs -, tezos-base-test-helpers -, alcotest-lwt -}: - -buildDunePackage { - pname = "tezos-sapling"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/lib_sapling"; - - propagatedBuildInputs = [ - tezos-crypto - tezos-rust-libs - ]; - - checkInputs = [ - alcotest-lwt - tezos-base-test-helpers - ]; - - # requires the "zcash-params" files - doCheck = false; - - # This is a hack to work around the hack used in the dune files - OPAM_SWITCH_PREFIX = "${tezos-rust-libs}"; - - meta = tezos-stdlib.meta // { - description = "Tezos/Protocol: economic-protocol definition"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/shell-context.nix b/pkgs/development/ocaml-modules/tezos/shell-context.nix deleted file mode 100644 index 89b50177f2c..00000000000 --- a/pkgs/development/ocaml-modules/tezos/shell-context.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-protocol-environment -}: - -buildDunePackage { - pname = "tezos-shell-context"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/lib_protocol_environment"; - - propagatedBuildInputs = [ - tezos-protocol-environment - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos: economic-protocols environment implementation for `tezos-node`"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/shell-services-test-helpers.nix b/pkgs/development/ocaml-modules/tezos/shell-services-test-helpers.nix deleted file mode 100644 index 077e44852ed..00000000000 --- a/pkgs/development/ocaml-modules/tezos/shell-services-test-helpers.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-test-helpers -, tezos-base -, tezos-shell-services -, qcheck-core -, qcheck-alcotest -}: - -buildDunePackage { - pname = "tezos-shell-services-test-helpers"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/lib_shell_services/test_helpers/"; - - propagatedBuildInputs = [ - tezos-base - tezos-shell-services - tezos-test-helpers - qcheck-core - ]; - - checkInputs = [ - qcheck-alcotest - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos: shell_services test helpers"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/shell-services.nix b/pkgs/development/ocaml-modules/tezos/shell-services.nix deleted file mode 100644 index 34354b1821f..00000000000 --- a/pkgs/development/ocaml-modules/tezos/shell-services.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-workers -, tezos-p2p-services -, tezos-version -, alcotest-lwt -}: - -buildDunePackage { - pname = "tezos-shell-services"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/lib_shell_services"; - - propagatedBuildInputs = [ - tezos-workers - tezos-p2p-services - tezos-version - ]; - - doCheck = true; - - checkInputs = [ - alcotest-lwt - ]; - - meta = tezos-stdlib.meta // { - description = "Tezos: descriptions of RPCs exported by `tezos-shell`"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/shell.nix b/pkgs/development/ocaml-modules/tezos/shell.nix deleted file mode 100644 index cdf5ea66395..00000000000 --- a/pkgs/development/ocaml-modules/tezos/shell.nix +++ /dev/null @@ -1,44 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-p2p -, tezos-requester -, tezos-validation -, tezos-store -, lwt-canceler -, alcotest-lwt -, qcheck-alcotest -, tezos-base-test-helpers -, tezos-embedded-protocol-demo-noops -, tezos-protocol-plugin-alpha -, tezos-test-helpers -}: - -buildDunePackage { - pname = "tezos-shell"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/lib_shell"; - - propagatedBuildInputs = [ - lwt-canceler - tezos-p2p - tezos-requester - tezos-store - tezos-validation - ]; - - checkInputs = [ - alcotest-lwt - qcheck-alcotest - tezos-base-test-helpers - tezos-embedded-protocol-demo-noops - tezos-protocol-plugin-alpha - tezos-test-helpers - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos: descriptions of RPCs exported by `tezos-shell`"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/signer-backends.nix b/pkgs/development/ocaml-modules/tezos/signer-backends.nix deleted file mode 100644 index 0b49779c279..00000000000 --- a/pkgs/development/ocaml-modules/tezos/signer-backends.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-rpc-http-client-unix -, tezos-signer-services -, alcotest -, alcotest-lwt -}: - -buildDunePackage { - pname = "tezos-signer-backends"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/lib_signer_backends"; - - propagatedBuildInputs = [ - tezos-rpc-http-client-unix - tezos-signer-services - ]; - - checkInputs = [ - alcotest - alcotest-lwt - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos: remote-signature backends for `tezos-client`"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/signer-services.nix b/pkgs/development/ocaml-modules/tezos/signer-services.nix deleted file mode 100644 index 2f7333312fa..00000000000 --- a/pkgs/development/ocaml-modules/tezos/signer-services.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-client-base -}: - -buildDunePackage { - pname = "tezos-signer-services"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/lib_signer_services"; - - propagatedBuildInputs = [ - tezos-client-base - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos: descriptions of RPCs exported by `tezos-signer`"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/stdlib-unix.nix b/pkgs/development/ocaml-modules/tezos/stdlib-unix.nix deleted file mode 100644 index 1b275d03dff..00000000000 --- a/pkgs/development/ocaml-modules/tezos/stdlib-unix.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-event-logging -, re -, ptime -, mtime -, ipaddr -, ezjsonm -, fmt -}: - -buildDunePackage { - pname = "tezos-stdlib-unix"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/lib_stdlib_unix"; - - propagatedBuildInputs = [ - tezos-event-logging - re - ptime - mtime - ipaddr - ezjsonm - fmt - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos: yet-another local-extension of the OCaml standard library (unix-specific fragment)"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/stdlib.nix b/pkgs/development/ocaml-modules/tezos/stdlib.nix deleted file mode 100644 index 31dfd43b615..00000000000 --- a/pkgs/development/ocaml-modules/tezos/stdlib.nix +++ /dev/null @@ -1,64 +0,0 @@ -{ lib -, fetchFromGitLab -, buildDunePackage -, hex -, lwt -, zarith -, alcotest -, alcotest-lwt -, crowbar -, bigstring -, lwt_log -, ppx_inline_test -, qcheck-alcotest -, tezos-test-helpers -}: - -buildDunePackage rec { - pname = "tezos-stdlib"; - version = "11.0"; - base_src = fetchFromGitLab { - owner = "tezos"; - repo = "tezos"; - rev = "v${version}"; - sha256 = "uUYd1DxH2bdCQlevQt3oGxvg0ai5EiCD2mti5SiueU8="; - }; - - src = "${base_src}/src/lib_stdlib"; - - minimalOCamlVersion = "4.08"; - - useDune2 = true; - - preBuild = '' - rm -rf vendors - ''; - - propagatedBuildInputs = [ - hex - lwt - zarith - ppx_inline_test - ]; - - checkInputs = [ - bigstring - lwt_log - alcotest - alcotest-lwt - crowbar - bigstring - lwt_log - qcheck-alcotest - # tezos-test-helpers - ]; - - # circular dependency if we add this - doCheck = false; - - meta = { - description = "Tezos: yet-another local-extension of the OCaml standard library"; - license = lib.licenses.mit; - maintainers = [ lib.maintainers.ulrikstrid ]; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/store.nix b/pkgs/development/ocaml-modules/tezos/store.nix deleted file mode 100644 index 3fbe945d07b..00000000000 --- a/pkgs/development/ocaml-modules/tezos/store.nix +++ /dev/null @@ -1,50 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-protocol-updater -, tezos-validation -, tezos-legacy-store -, tezos-protocol-compiler -, index -, camlzip -, tar-unix -, ringo-lwt -, digestif -, alcotest-lwt -, lwt-watcher -}: - -buildDunePackage { - pname = "tezos-store"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/lib_store"; - - propagatedBuildInputs = [ - index - camlzip - tar-unix - ringo-lwt - digestif - lwt-watcher - tezos-protocol-updater - tezos-validation - tezos-legacy-store - ]; - - nativeBuildInputs = [ - tezos-protocol-compiler - ]; - - strictDeps = true; - - checkInputs = [ - alcotest-lwt - ]; - - # A lot of extra deps with wide dependency cones needed - doCheck = false; - - meta = tezos-stdlib.meta // { - description = "Tezos: custom economic-protocols environment implementation for `tezos-client` and testing"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/test-helpers.nix b/pkgs/development/ocaml-modules/tezos/test-helpers.nix deleted file mode 100644 index 6b3c42b85ba..00000000000 --- a/pkgs/development/ocaml-modules/tezos/test-helpers.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib -, fetchFromGitLab -, buildDunePackage -, qcheck-alcotest -, alcotest -, alcotest-lwt -, uri -, tezos-stdlib -}: - -buildDunePackage rec { - pname = "tezos-test-helpers"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/lib_test"; - - propagatedBuildInputs = [ - qcheck-alcotest - alcotest - alcotest-lwt - uri - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos: yet-another local-extension of the OCaml standard library"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/validation.nix b/pkgs/development/ocaml-modules/tezos/validation.nix deleted file mode 100644 index 44a7576cc06..00000000000 --- a/pkgs/development/ocaml-modules/tezos/validation.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-protocol-updater -, tezos-protocol-compiler -}: - -buildDunePackage { - pname = "tezos-validation"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/lib_validation"; - - propagatedBuildInputs = [ - tezos-protocol-updater - ]; - - nativeBuildInputs = [ - tezos-protocol-compiler - ]; - - strictDeps = true; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos: library for blocks validation"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/version.nix b/pkgs/development/ocaml-modules/tezos/version.nix deleted file mode 100644 index a0928d15f46..00000000000 --- a/pkgs/development/ocaml-modules/tezos/version.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-base -}: - -buildDunePackage { - pname = "tezos-version"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/lib_version"; - - propagatedBuildInputs = [ - tezos-base - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos: version information generated from Git"; - }; -} diff --git a/pkgs/development/ocaml-modules/tezos/workers.nix b/pkgs/development/ocaml-modules/tezos/workers.nix deleted file mode 100644 index 65a60a216cd..00000000000 --- a/pkgs/development/ocaml-modules/tezos/workers.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ lib -, buildDunePackage -, tezos-stdlib -, tezos-base -}: - -buildDunePackage { - pname = "tezos-workers"; - inherit (tezos-stdlib) version useDune2; - src = "${tezos-stdlib.base_src}/src/lib_workers"; - - propagatedBuildInputs = [ - tezos-base - ]; - - doCheck = true; - - meta = tezos-stdlib.meta // { - description = "Tezos: worker library"; - }; -} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 138cf3ca857..30c54da232f 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -1339,67 +1339,6 @@ let terminal_size = callPackage ../development/ocaml-modules/terminal_size { }; - tezos-010-PtGRANAD-test-helpers = callPackage ../development/ocaml-modules/tezos/010-PtGRANAD-test-helpers.nix { }; - tezos-011-PtHangz2-test-helpers = callPackage ../development/ocaml-modules/tezos/011-PtHangz2-test-helpers.nix { }; - tezos-base = callPackage ../development/ocaml-modules/tezos/base.nix { }; - tezos-base-test-helpers = callPackage ../development/ocaml-modules/tezos/base-test-helpers.nix { }; - tezos-clic = callPackage ../development/ocaml-modules/tezos/clic.nix { }; - tezos-client-010-PtGRANAD = callPackage ../development/ocaml-modules/tezos/client-010-PtGRANAD.nix { }; - tezos-client-011-PtHangz2 = callPackage ../development/ocaml-modules/tezos/client-011-PtHangz2.nix { }; - tezos-client-base = callPackage ../development/ocaml-modules/tezos/client-base.nix { }; - tezos-context = callPackage ../development/ocaml-modules/tezos/context.nix { }; - tezos-crypto = callPackage ../development/ocaml-modules/tezos/crypto.nix { }; - tezos-embedded-protocol-010-PtGRANAD = callPackage ../development/ocaml-modules/tezos/embedded-protocol-010-PtGRANAD.nix { }; - tezos-embedded-protocol-demo-noops = callPackage ../development/ocaml-modules/tezos/embedded-protocol-demo-noops.nix { }; - tezos-error-monad = callPackage ../development/ocaml-modules/tezos/error-monad.nix { }; - tezos-event-logging = callPackage ../development/ocaml-modules/tezos/event-logging.nix { }; - tezos-event-logging-test-helpers = callPackage ../development/ocaml-modules/tezos/event-logging-test-helpers.nix { }; - tezos-legacy-store = callPackage ../development/ocaml-modules/tezos/legacy-store.nix { }; - tezos-lmdb = callPackage ../development/ocaml-modules/tezos/lmdb.nix { }; - tezos-hacl-glue = callPackage ../development/ocaml-modules/tezos/hacl-glue.nix { }; - tezos-hacl-glue-unix = callPackage ../development/ocaml-modules/tezos/hacl-glue-unix.nix { }; - tezos-lwt-result-stdlib = callPackage ../development/ocaml-modules/tezos/lwt-result-stdlib.nix { }; - tezos-micheline = callPackage ../development/ocaml-modules/tezos/micheline.nix { }; - tezos-mockup-proxy = callPackage ../development/ocaml-modules/tezos/mockup-proxy.nix { }; - tezos-mockup-registration = callPackage ../development/ocaml-modules/tezos/mockup-registration.nix { }; - tezos-p2p-services = callPackage ../development/ocaml-modules/tezos/p2p-services.nix { }; - tezos-p2p = callPackage ../development/ocaml-modules/tezos/p2p.nix { }; - tezos-protocol-010-PtGRANAD = callPackage ../development/ocaml-modules/tezos/protocol-010-PtGRANAD.nix { }; - tezos-protocol-010-PtGRANAD-parameters = callPackage ../development/ocaml-modules/tezos/protocol-010-PtGRANAD-parameters.nix { }; - tezos-protocol-011-PtHangz2 = callPackage ../development/ocaml-modules/tezos/protocol-011-PtHangz2.nix { }; - tezos-protocol-011-PtHangz2-parameters = callPackage ../development/ocaml-modules/tezos/protocol-011-PtHangz2-parameters.nix { }; - tezos-protocol-alpha = callPackage ../development/ocaml-modules/tezos/protocol-alpha.nix { }; - tezos-protocol-compiler = callPackage ../development/ocaml-modules/tezos/protocol-compiler.nix { }; - tezos-protocol-demo-noops = callPackage ../development/ocaml-modules/tezos/protocol-demo-noops.nix { }; - tezos-protocol-environment-packer = callPackage ../development/ocaml-modules/tezos/protocol-environment-packer.nix { }; - tezos-protocol-environment-sigs = callPackage ../development/ocaml-modules/tezos/protocol-environment-sigs.nix { }; - tezos-protocol-environment-structs = callPackage ../development/ocaml-modules/tezos/protocol-environment-structs.nix { }; - tezos-protocol-environment = callPackage ../development/ocaml-modules/tezos/protocol-environment.nix { }; - tezos-protocol-plugin-010-PtGRANAD = callPackage ../development/ocaml-modules/tezos/protocol-plugin-010-PtGRANAD.nix { }; - tezos-protocol-plugin-011-PtHangz2 = callPackage ../development/ocaml-modules/tezos/protocol-plugin-011-PtHangz2.nix { }; - tezos-protocol-plugin-alpha = callPackage ../development/ocaml-modules/tezos/protocol-plugin-alpha.nix { }; - tezos-protocol-updater = callPackage ../development/ocaml-modules/tezos/protocol-updater.nix { }; - tezos-proxy = callPackage ../development/ocaml-modules/tezos/proxy.nix { }; - tezos-requester = callPackage ../development/ocaml-modules/tezos/requester.nix { }; - tezos-rpc-http-client-unix = callPackage ../development/ocaml-modules/tezos/rpc-http-client-unix.nix { }; - tezos-rpc-http-client = callPackage ../development/ocaml-modules/tezos/rpc-http-client.nix { }; - tezos-rpc-http = callPackage ../development/ocaml-modules/tezos/rpc-http.nix { }; - tezos-rpc = callPackage ../development/ocaml-modules/tezos/rpc.nix { }; - tezos-sapling = callPackage ../development/ocaml-modules/tezos/sapling.nix { }; - tezos-shell-context = callPackage ../development/ocaml-modules/tezos/shell-context.nix { }; - tezos-shell-services = callPackage ../development/ocaml-modules/tezos/shell-services.nix { }; - tezos-shell-services-test-helpers = callPackage ../development/ocaml-modules/tezos/shell-services-test-helpers.nix { }; - tezos-shell = callPackage ../development/ocaml-modules/tezos/shell.nix { }; - tezos-signer-backends = callPackage ../development/ocaml-modules/tezos/signer-backends.nix { }; - tezos-signer-services = callPackage ../development/ocaml-modules/tezos/signer-services.nix { }; - tezos-stdlib-unix = callPackage ../development/ocaml-modules/tezos/stdlib-unix.nix { }; - tezos-stdlib = callPackage ../development/ocaml-modules/tezos/stdlib.nix { }; - tezos-test-helpers = callPackage ../development/ocaml-modules/tezos/test-helpers.nix { }; - tezos-store = callPackage ../development/ocaml-modules/tezos/store.nix { }; - tezos-validation = callPackage ../development/ocaml-modules/tezos/validation.nix { }; - tezos-version = callPackage ../development/ocaml-modules/tezos/version.nix { }; - tezos-workers = callPackage ../development/ocaml-modules/tezos/workers.nix { }; - theora = callPackage ../development/ocaml-modules/theora { }; toml = callPackage ../development/ocaml-modules/toml { }; |