aboutsummaryrefslogtreecommitdiffstats
path: root/deps/merklecpp.nix
diff options
context:
space:
mode:
authorMarcos Magueta <maguetamarcos@gmail.com>2024-10-27 01:53:18 -0300
committerGitHub <noreply@github.com>2024-10-27 01:53:18 -0300
commitfcb5613755b08fcb7ae73a3826b1cdce40e2747f (patch)
treee9f1df3a4e0d9b2bb38fdc432edeae21424dbe99 /deps/merklecpp.nix
parent2eab114a120c7818861c0640ecdc300cf7366e53 (diff)
downloadSakura-fcb5613755b08fcb7ae73a3826b1cdce40e2747f.tar.gz
Sakura-fcb5613755b08fcb7ae73a3826b1cdce40e2747f.zip
State of the world with Merkle Tree composition of files (#2)
* file state hash calculation with history on replace and insert * add state transitions with linear hashing * add test * format dune files * nix format * delete shared flake * disable fmt check on flake * add nix formatter to flake shell
Diffstat (limited to 'deps/merklecpp.nix')
-rw-r--r--deps/merklecpp.nix21
1 files changed, 9 insertions, 12 deletions
diff --git a/deps/merklecpp.nix b/deps/merklecpp.nix
index 459a957..d130be6 100644
--- a/deps/merklecpp.nix
+++ b/deps/merklecpp.nix
@@ -2,19 +2,16 @@
pkgs.stdenv.mkDerivation rec {
name = "merklecpp";
- src = pkgs.fetchFromGitHub {
- owner = "microsoft";
- repo = "merklecpp";
- rev = "master";
- sha256 = "jJJ6FEn+AkMknqun0GkXh5DSXsJnFbdE7U8BQ7Dd/Fw=";
- };
+ src = pkgs.fetchFromGitHub {
+ owner = "microsoft";
+ repo = "merklecpp";
+ rev = "master";
+ sha256 = "jJJ6FEn+AkMknqun0GkXh5DSXsJnFbdE7U8BQ7Dd/Fw=";
+ };
- prePatch = ''
- '';
- configurePhase = ''
- '';
- buildPhase = ''
- '';
+ prePatch = "";
+ configurePhase = "";
+ buildPhase = "";
installPhase = ''
mkdir -p $out/include
mv merklecpp.h $out/include/merklecpp.h