depot/third_party/nixpkgs/pkgs/development/ocaml-modules/yuscii/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

39 lines
758 B
Nix

{ alcotest
, buildDunePackage
, ocaml
, fetchzip
, gcc
, fmt
, lib
, uutf
}:
buildDunePackage rec {
pname = "yuscii";
version = "0.3.0";
minimalOCamlVersion = "4.03";
duneVersion = "3";
src = fetchzip {
url = "https://github.com/mirage/yuscii/releases/download/v${version}/yuscii-v${version}.tbz";
sha256 = "0idywlkw0fbakrxv65swnr5bj7f2vns9kpay7q03gzlv82p670hy";
};
nativeCheckInputs = [
gcc
];
checkInputs = [
alcotest
fmt
uutf
];
doCheck = lib.versionAtLeast ocaml.version "4.08";
meta = {
description = "Simple mapper between UTF-7 to Unicode according RFC2152";
license = lib.licenses.mit;
homepage = "https://github.com/mirage/yuscii";
maintainers = with lib.maintainers; [ ];
};
}