summaryrefslogtreecommitdiff
path: root/pkgs/development/ocaml-modules/tezos-base58/default.nix
blob: 92c46f1db920ec07706ae24f22b83c0174f7ff9b (plain)
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
30
31
32
33
34
35
{
  buildDunePackage,
  fetchurl,
  lib,
  zarith,
  digestif,
  fmt,
}:

buildDunePackage rec {
  pname = "tezos-base58";
  version = "1.0.0";

  src = fetchurl {
    url = "https://github.com/tarides/tezos-base58/releases/download/${version}/${pname}-${version}.tbz";
    sha256 = "14w2pff5dy6mxnz588pxaf2k8xpkd51sbsys065wr51kbv1f36da";
  };

  minimalOCamlVersion = "4.08";
  duneVersion = "3";

  propagatedBuildInputs = [
    zarith
    digestif
    fmt
  ];

  meta = {
    description = "Base58 encoding for Tezos";
    homepage = "https://github.com/tarides/tezos-base58/";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ bezmuth ];
  };

}