aboutsummaryrefslogtreecommitdiffstats
path: root/deps/blake2.nix
blob: adf902dab12c611b0dc88016657aef46f746b7b8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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";
  };
}