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