depot/pkgs/development/ocaml-modules/notty/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

27 lines
636 B
Nix

{ lib, buildDunePackage, fetchurl, cppo
, uutf
, lwt
}:
buildDunePackage rec {
version = "0.2.3";
pname = "notty";
minimalOCamlVersion = "4.08";
src = fetchurl {
url = "https://github.com/pqwy/notty/releases/download/v${version}/notty-${version}.tbz";
sha256 = "sha256-dGWfsUBz20Q4mJiRqyTyS++Bqkl9rBbZpn+aHJwgCCQ=";
};
nativeBuildInputs = [ cppo ];
propagatedBuildInputs = [ lwt uutf ];
meta = with lib; {
homepage = "https://github.com/pqwy/notty";
description = "Declarative terminal graphics for OCaml";
license = licenses.isc;
maintainers = with maintainers; [ sternenseemann ];
};
}