summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules/rosetta/default.nix
blob: 41b684504d3d430a87c4c1496282081a77e202fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
  buildDunePackage,
  coin,
  fetchzip,
  lib,
  yuscii,
  uuuu,
}:

buildDunePackage (finalAttrs: {
  pname = "rosetta";
  version = "0.4.0";

  src = fetchzip {
    url = "https://github.com/mirage/rosetta/releases/download/v${finalAttrs.version}/rosetta-${finalAttrs.version}.tbz";
    hash = "sha256-LFdkwHBppDXE5q6mcDPWX1PreSVEsV9msq6rEmCWVwA=";
  };

  duneVersion = "3";

  propagatedBuildInputs = [
    coin
    uuuu
    yuscii
  ];

  doCheck = false; # No tests.

  meta = {
    description = "Universal decoder of an encoded flow (UTF-7, ISO-8859 and KOI8) to Unicode";
    license = lib.licenses.mit;
    homepage = "https://github.com/mirage/rosetta";
    maintainers = [ ];
  };
})