biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / ocaml-modules / vlq / default.nix
bloba6ba09ebc6799a7250454215ca37dfacc524cf2a
1 { lib, buildDunePackage, fetchurl, ocaml
2 , dune-configurator
3 }:
5 lib.throwIf (lib.versionAtLeast ocaml.version "5.0")
6   "vlq is not available for OCaml ${ocaml.version}"
8 buildDunePackage rec {
9   pname = "vlq";
10   version = "0.2.1";
12   src = fetchurl {
13     url = "https://github.com/flowtype/ocaml-vlq/releases/download/v${version}/vlq-v${version}.tbz";
14     sha256 = "02wr9ph4q0nxmqgbc67ydf165hmrdv9b655krm2glc3ahb6larxi";
15   };
17   buildInputs = [ dune-configurator ];
19   meta = {
20     description = "encoding variable-length quantities, in particular base64";
21     license = lib.licenses.mit;
22     homepage = "https://github.com/flowtype/ocaml-vlq";
23     maintainers = [ lib.maintainers.nomeata ];
24   };