about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/tezos-base58/default.nix
blob: 1ed04a082d5b86d02141e1e4c2bf90fe4090ea63 (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
{ 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 = with lib; {
    description = "Base58 encoding for Tezos";
    homepage = "https://github.com/tarides/tezos-base58/";
    license = licenses.mit;
    maintainers = with maintainers; [ bezmuth ];
  };

}