diff options
| author | Marcos Magueta <maguetamarcos@gmail.com> | 2026-01-03 20:58:59 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-03 20:58:59 -0300 |
| commit | a138f1c57ef376a3f2521ce1f8877ed97bc3e654 (patch) | |
| tree | c400a4888b6ef004300f28e09e313bb85984d6a4 /rebar-deps.nix | |
| parent | c9b69ab3ae238da966bcba3d3e86f5c27a0df922 (diff) | |
| download | Sakura-a138f1c57ef376a3f2521ce1f8877ed97bc3e654.tar.gz Sakura-a138f1c57ef376a3f2521ce1f8877ed97bc3e654.zip | |
Refactor constraint system (#49)
* fix dialyzer and clean code
* rework on validation criterias and mnesia-aware domains
* [refactor] add comparison relations to database startup
* fix nix build
* fix docs for edoc
Diffstat (limited to 'rebar-deps.nix')
| -rw-r--r-- | rebar-deps.nix | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/rebar-deps.nix b/rebar-deps.nix index 5e167a7..c34883c 100644 --- a/rebar-deps.nix +++ b/rebar-deps.nix @@ -4,13 +4,13 @@ in { builder ? fetchOnly, fetchHex, fetchgit, fetchFromGitHub, overrides ? (x: y let self = packages // (overrides self packages); packages = with self; { - merklet = builder { - name = "merklet"; - version = "2.0.0"; + quickrand = builder { + name = "quickrand"; + version = "2.0.7"; src = fetchHex { - pkg = "merklet"; - version = "2.0.0"; - sha256 = "sha256-teho2ll5+bPD5Oi4FxqlwWeGjjVJW4FzHJPYOC/dMng="; + pkg = "quickrand"; + version = "2.0.7"; + sha256 = "sha256-uKy/iaIkvCF8MHDKi+vG6yNtvn+XZ5k7J0CE6gRNNfA="; }; beamDeps = [ ]; }; @@ -22,6 +22,22 @@ let version = "2.0.7"; sha256 = "sha256-Tkxco0YdxHxeFX7UKqOYGgU7ehhnkq+XKiexSpSJMk4="; }; + beamDeps = [ quickrand ]; + postPatch = '' + # The package is named uuid_erl but the app.src uses {application, uuid, ...} + # Rename the .app.src file and update the application name to match the package name + mv src/uuid.app.src src/uuid_erl.app.src + sed -i 's/{application, *uuid,/{application,uuid_erl,/g' src/uuid_erl.app.src + ''; + }; + merklet = builder { + name = "merklet"; + version = "2.0.0"; + src = fetchHex { + pkg = "merklet"; + version = "2.0.0"; + sha256 = "sha256-teho2ll5+bPD5Oi4FxqlwWeGjjVJW4FzHJPYOC/dMng="; + }; beamDeps = [ ]; }; }; |
