diff options
Diffstat (limited to 'deps/blake2.nix')
| -rw-r--r-- | deps/blake2.nix | 29 |
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"; + }; +} |
