Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildDunePackage, fetchurl, cppo
2, uutf
3, lwt
4}:
5
6buildDunePackage rec {
7 version = "0.2.3";
8 pname = "notty";
9
10 minimalOCamlVersion = "4.08";
11
12 src = fetchurl {
13 url = "https://github.com/pqwy/notty/releases/download/v${version}/notty-${version}.tbz";
14 sha256 = "sha256-dGWfsUBz20Q4mJiRqyTyS++Bqkl9rBbZpn+aHJwgCCQ=";
15 };
16
17 nativeBuildInputs = [ cppo ];
18
19 propagatedBuildInputs = [ lwt uutf ];
20
21 meta = with lib; {
22 homepage = "https://github.com/pqwy/notty";
23 description = "Declarative terminal graphics for OCaml";
24 license = licenses.isc;
25 maintainers = with maintainers; [ sternenseemann ];
26 };
27}