35 lines
768 B
Nix
35 lines
768 B
Nix
{
|
|
lib,
|
|
buildDunePackage,
|
|
fetchFromGitHub,
|
|
ncurses,
|
|
dune-configurator,
|
|
pkg-config,
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "curses";
|
|
version = "1.0.11";
|
|
|
|
minimalOCamlVersion = "4.06";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mbacarella";
|
|
repo = "curses";
|
|
rev = version;
|
|
hash = "sha256-tjBOv7RARDzBShToNLL9LEaU/Syo95MfwZunFsyN4/Q=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ dune-configurator ];
|
|
|
|
propagatedBuildInputs = [ ncurses ];
|
|
|
|
meta = {
|
|
description = "OCaml Bindings to curses/ncurses";
|
|
homepage = "https://github.com/mbacarella/curses";
|
|
license = lib.licenses.lgpl21Plus;
|
|
changelog = "https://github.com/mbacarella/curses/raw/${version}/CHANGES";
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
};
|
|
}
|