nixpkgs/pkgs/development/ocaml-modules/vlq/default.nix

26 lines
608 B
Nix
Raw Normal View History

2021-08-25 18:26:02 +00:00
{ lib, buildDunePackage, fetchurl
, dune-configurator
}:
buildDunePackage rec {
pname = "vlq";
version = "0.2.1";
src = fetchurl {
url = "https://github.com/flowtype/ocaml-vlq/releases/download/v${version}/vlq-v${version}.tbz";
sha256 = "02wr9ph4q0nxmqgbc67ydf165hmrdv9b655krm2glc3ahb6larxi";
};
useDune2 = true;
buildInputs = [ dune-configurator ];
meta = {
description = "encoding variable-length quantities, in particular base64";
license = lib.licenses.mit;
homepage = "https://github.com/flowtype/ocaml-vlq";
maintainers = [ lib.maintainers.nomeata ];
};
}