aboutsummaryrefslogtreecommitdiffstats
path: root/deps/blake2.nix
diff options
context:
space:
mode:
authorMarcos Magueta <maguetamarcos@gmail.com>2026-03-07 02:40:26 -0300
committerMarcos Magueta <maguetamarcos@gmail.com>2026-03-07 02:40:26 -0300
commite9bc4aa3fa0e775acf1978722da1fde1ed8a469d (patch)
treeff78d21ba9a03acae20b15bb2fad2f27bcde75e1 /deps/blake2.nix
parentfcd8571577f2b98ffc8fa2b95781ed16982804a9 (diff)
downloadSakura-e9bc4aa3fa0e775acf1978722da1fde1ed8a469d.tar.gz
Sakura-e9bc4aa3fa0e775acf1978722da1fde1ed8a469d.zip
erlang port commands and generated tests
Diffstat (limited to 'deps/blake2.nix')
-rw-r--r--deps/blake2.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/deps/blake2.nix b/deps/blake2.nix
new file mode 100644
index 0000000..adf902d
--- /dev/null
+++ b/deps/blake2.nix
@@ -0,0 +1,29 @@
+{ lib, ocamlPackages, fetchFromGitLab }:
+ocamlPackages.buildDunePackage {
+ duneVersion = "2";
+ useDune2 = true;
+
+ pname = "blake2";
+ version = "0.3";
+
+ minimalOCamlVersion = "4.06";
+
+ src = fetchFromGitLab {
+ owner = "nomadic-labs";
+ repo = "ocaml-blake2";
+ rev = "v0.3";
+ sha256 = "sha256-LueEFWNHuTGp/hZNT9sRx3ZhIbGNlSSnqcO9geMzgag=";
+ };
+
+ buildInputs = with ocamlPackages; [ ];
+
+ propagatedBuildInputs = with ocamlPackages; [ ];
+
+ doCheck = false;
+
+ meta = {
+ description = "Blake2 cryptographic hash function for OCaml";
+ license = lib.licenses.isc;
+ homepage = "https://gitlab.com/nomadic-labs/ocaml-blake2";
+ };
+}