2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, ncurses }:
|
2016-02-07 16:12:39 +00:00
|
|
|
|
2017-03-12 00:36:11 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "cdk";
|
2021-01-19 10:14:03 +00:00
|
|
|
version ="5.0-20210109";
|
2016-02-07 16:12:39 +00:00
|
|
|
|
2015-06-02 17:30:59 +00:00
|
|
|
buildInputs = [
|
|
|
|
ncurses
|
|
|
|
];
|
2016-02-07 16:12:39 +00:00
|
|
|
|
2015-06-02 17:30:59 +00:00
|
|
|
src = fetchurl {
|
2018-01-02 17:54:12 +00:00
|
|
|
urls = [
|
|
|
|
"ftp://ftp.invisible-island.net/cdk/cdk-${version}.tgz"
|
|
|
|
"https://invisible-mirror.net/archives/cdk/cdk-${version}.tgz"
|
|
|
|
];
|
2021-01-19 10:14:03 +00:00
|
|
|
sha256 = "sha256-xBbJh793tPGycD18XkM7qUWMi+Uma/RUy/gBrYfnKTY=";
|
2015-06-02 17:30:59 +00:00
|
|
|
};
|
2016-02-07 16:12:39 +00:00
|
|
|
|
2021-12-11 11:24:23 +00:00
|
|
|
patches = [
|
|
|
|
# Proposed upstream as https://lists.gnu.org/archive/html/bug-ncurses/2021-12/msg00004.html
|
|
|
|
./parallel.patch
|
|
|
|
];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2016-02-07 16:12:39 +00:00
|
|
|
description = "Curses development kit";
|
2021-12-11 11:24:23 +00:00
|
|
|
homepage = "https://invisible-island.net/cdk/";
|
2017-03-12 00:36:11 +00:00
|
|
|
license = licenses.bsdOriginal ;
|
|
|
|
maintainers = [ maintainers.raskin ];
|
|
|
|
platforms = platforms.linux;
|
2015-06-02 17:30:59 +00:00
|
|
|
};
|
|
|
|
}
|