2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, ncurses }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "cdk";
|
2021-02-05 17:12:51 +00:00
|
|
|
version ="5.0-20210109";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
ncurses
|
|
|
|
];
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
urls = [
|
|
|
|
"ftp://ftp.invisible-island.net/cdk/cdk-${version}.tgz"
|
|
|
|
"https://invisible-mirror.net/archives/cdk/cdk-${version}.tgz"
|
|
|
|
];
|
2021-02-05 17:12:51 +00:00
|
|
|
sha256 = "sha256-xBbJh793tPGycD18XkM7qUWMi+Uma/RUy/gBrYfnKTY=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-12-19 01:06:50 +00:00
|
|
|
patches = [
|
|
|
|
# Proposed upstream as https://lists.gnu.org/archive/html/bug-ncurses/2021-12/msg00004.html
|
|
|
|
./parallel.patch
|
|
|
|
];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Curses development kit";
|
2021-12-19 01:06:50 +00:00
|
|
|
homepage = "https://invisible-island.net/cdk/";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.bsdOriginal ;
|
|
|
|
maintainers = [ maintainers.raskin ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|