about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/tezos/protocol-updater.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/ocaml-modules/tezos/protocol-updater.nix')
-rw-r--r--nixpkgs/pkgs/development/ocaml-modules/tezos/protocol-updater.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/ocaml-modules/tezos/protocol-updater.nix b/nixpkgs/pkgs/development/ocaml-modules/tezos/protocol-updater.nix
new file mode 100644
index 000000000000..29aaa8be7349
--- /dev/null
+++ b/nixpkgs/pkgs/development/ocaml-modules/tezos/protocol-updater.nix
@@ -0,0 +1,26 @@
+{ 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`";
+  };
+}