2021-10-26 02:16:41 +02:00
|
|
|
{ alcotest
|
|
|
|
, buildDunePackage
|
2022-08-23 08:04:50 +02:00
|
|
|
, ocaml
|
2021-10-26 02:16:41 +02:00
|
|
|
, fetchzip
|
2021-11-10 08:16:02 +01:00
|
|
|
, gcc
|
2021-10-26 02:16:41 +02:00
|
|
|
, fmt
|
|
|
|
, lib
|
|
|
|
, uutf
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "yuscii";
|
|
|
|
version = "0.3.0";
|
|
|
|
|
2022-08-23 08:04:50 +02:00
|
|
|
minimalOCamlVersion = "4.03";
|
2023-04-10 14:14:30 +02:00
|
|
|
duneVersion = "3";
|
2022-08-23 08:04:50 +02:00
|
|
|
|
2021-10-26 02:16:41 +02:00
|
|
|
src = fetchzip {
|
|
|
|
url = "https://github.com/mirage/yuscii/releases/download/v${version}/yuscii-v${version}.tbz";
|
|
|
|
sha256 = "0idywlkw0fbakrxv65swnr5bj7f2vns9kpay7q03gzlv82p670hy";
|
|
|
|
};
|
|
|
|
|
2023-01-21 13:00:00 +01:00
|
|
|
nativeCheckInputs = [
|
2021-11-10 08:16:02 +01:00
|
|
|
gcc
|
2022-03-01 16:42:22 +01:00
|
|
|
];
|
|
|
|
checkInputs = [
|
2021-10-26 02:16:41 +02:00
|
|
|
alcotest
|
|
|
|
fmt
|
|
|
|
uutf
|
|
|
|
];
|
2022-08-23 08:04:50 +02:00
|
|
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
2021-10-26 02:16:41 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Simple mapper between UTF-7 to Unicode according RFC2152";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
homepage = "https://github.com/mirage/yuscii";
|
2024-07-28 16:44:11 +02:00
|
|
|
maintainers = [ ];
|
2021-10-26 02:16:41 +02:00
|
|
|
};
|
|
|
|
}
|