depot/third_party/nixpkgs/pkgs/development/ocaml-modules/base64/default.nix
Default email a4fd2de975 Project import generated by Copybara.
GitOrigin-RevId: 34ad166a830d3ac1541dcce571c52231f2f0865a
2020-11-02 21:18:15 -05:00

25 lines
665 B
Nix

{ lib, fetchurl, buildDunePackage, alcotest, bos, dune-configurator }:
buildDunePackage rec {
pname = "base64";
version = "3.4.0";
useDune2 = true;
src = fetchurl {
url = "https://github.com/mirage/ocaml-base64/releases/download/v${version}/base64-v${version}.tbz";
sha256 = "0d0n5gd4nkdsz14jnxq13f1f7rzxmndg5xql039a8wfppmazd70w";
};
buildInputs = [ bos dune-configurator ];
doCheck = true;
checkInputs = [ alcotest ];
meta = {
homepage = "https://github.com/mirage/ocaml-base64";
description = "Base64 encoding and decoding in OCaml";
license = lib.licenses.isc;
maintainers = with lib.maintainers; [ vbgl ];
};
}