summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules/coin/default.nix
blob: a952f45c5c108b90cdc91643c78592e6cd4dad09 (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
{
  buildDunePackage,
  fetchurl,
  lib,
}:

buildDunePackage (finalAttrs: {
  pname = "coin";
  version = "0.1.5";
  minimalOCamlVersion = "4.06";

  src = fetchurl {
    url = "https://github.com/mirage/coin/releases/download/v${finalAttrs.version}/coin-${finalAttrs.version}.tbz";
    hash = "sha256-z2WzQ7zUFmZJTUqygTHguud6+NAcp36WubHbILXGR9g=";
  };

  doCheck = true;

  meta = {
    description = "Library to normalize an KOI8-{U,R} input to Unicode";
    homepage = "https://github.com/mirage/coin";
    license = lib.licenses.mit;
    maintainers = [ ];
    mainProgram = "coin.generate";
  };
})