nixpkgs/pkgs/development/ocaml-modules/yuscii/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
739 B
Nix
Raw Normal View History

2021-10-26 00:16:41 +00:00
{ alcotest
, buildDunePackage
2022-08-23 06:04:50 +00:00
, ocaml
2021-10-26 00:16:41 +00:00
, fetchzip
, gcc
2021-10-26 00:16:41 +00:00
, fmt
, lib
, uutf
}:
buildDunePackage rec {
pname = "yuscii";
version = "0.3.0";
2022-08-23 06:04:50 +00:00
minimalOCamlVersion = "4.03";
2021-10-26 00:16:41 +00:00
src = fetchzip {
url = "https://github.com/mirage/yuscii/releases/download/v${version}/yuscii-v${version}.tbz";
sha256 = "0idywlkw0fbakrxv65swnr5bj7f2vns9kpay7q03gzlv82p670hy";
};
nativeCheckInputs = [
gcc
];
checkInputs = [
2021-10-26 00:16:41 +00:00
alcotest
fmt
uutf
];
2022-08-23 06:04:50 +00:00
doCheck = lib.versionAtLeast ocaml.version "4.08";
2021-10-26 00:16:41 +00:00
meta = {
description = "A simple mapper between UTF-7 to Unicode according RFC2152";
license = lib.licenses.mit;
homepage = "https://github.com/mirage/yuscii";
2021-11-03 00:38:27 +00:00
maintainers = with lib.maintainers; [ ];
2021-10-26 00:16:41 +00:00
};
}