1{
2 buildDunePackage,
3 fetchurl,
4 lib,
5 zarith,
6 digestif,
7 fmt,
8}:
9
10buildDunePackage rec {
11 pname = "tezos-base58";
12 version = "1.0.0";
13
14 src = fetchurl {
15 url = "https://github.com/tarides/tezos-base58/releases/download/${version}/${pname}-${version}.tbz";
16 sha256 = "14w2pff5dy6mxnz588pxaf2k8xpkd51sbsys065wr51kbv1f36da";
17 };
18
19 minimalOCamlVersion = "4.08";
20 duneVersion = "3";
21
22 propagatedBuildInputs = [
23 zarith
24 digestif
25 fmt
26 ];
27
28 meta = with lib; {
29 description = "Base58 encoding for Tezos";
30 homepage = "https://github.com/tarides/tezos-base58/";
31 license = licenses.mit;
32 maintainers = with maintainers; [ bezmuth ];
33 };
34
35}