nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 41 lines 896 B view raw
1{ 2 lib, 3 buildDunePackage, 4 fetchurl, 5 fetchpatch, 6 cppo, 7 uutf, 8 lwt, 9}: 10 11buildDunePackage rec { 12 version = "0.2.3"; 13 pname = "notty"; 14 15 minimalOCamlVersion = "4.08"; 16 17 src = fetchurl { 18 url = "https://github.com/pqwy/notty/releases/download/v${version}/notty-${version}.tbz"; 19 sha256 = "sha256-dGWfsUBz20Q4mJiRqyTyS++Bqkl9rBbZpn+aHJwgCCQ="; 20 }; 21 22 # Compatibility with OCaml 5.4 23 patches = fetchpatch { 24 url = "https://github.com/pqwy/notty/commit/a4d62f467e257196a5192da2184bd021dfd948b7.patch"; 25 hash = "sha256-p1eUuCvQKLj8uBeGyT2+i9WOYy4rk84pf9L3QioJDNY="; 26 }; 27 28 nativeBuildInputs = [ cppo ]; 29 30 propagatedBuildInputs = [ 31 lwt 32 uutf 33 ]; 34 35 meta = { 36 homepage = "https://github.com/pqwy/notty"; 37 description = "Declarative terminal graphics for OCaml"; 38 license = lib.licenses.isc; 39 maintainers = with lib.maintainers; [ sternenseemann ]; 40 }; 41}