nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildDunePackage,
4 fetchurl,
5 ocaml,
6 dune-configurator,
7}:
8
9buildDunePackage rec {
10 pname = "vlq";
11 version = "0.2.1";
12
13 src = fetchurl {
14 url = "https://github.com/flowtype/ocaml-vlq/releases/download/v${version}/vlq-v${version}.tbz";
15 sha256 = "02wr9ph4q0nxmqgbc67ydf165hmrdv9b655krm2glc3ahb6larxi";
16 };
17
18 buildInputs = [ dune-configurator ];
19
20 meta = {
21 description = "Encoding variable-length quantities, in particular base64";
22 license = lib.licenses.mit;
23 homepage = "https://github.com/flowtype/ocaml-vlq";
24 maintainers = [ lib.maintainers.nomeata ];
25 broken = lib.versionAtLeast ocaml.version "5.0";
26 };
27
28}