567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
36 lines
675 B
Nix
36 lines
675 B
Nix
{
|
|
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 ];
|
|
};
|
|
|
|
}
|