From 868825bc86d44b0927b46b8dd621d85c0ca09dcb Mon Sep 17 00:00:00 2001 From: Nigko Yerden Date: Thu, 3 Jul 2025 18:31:33 +0500 Subject: [PATCH] gnu: Add cdk. * gnu/packages/ncurses.scm (cdk): New variable. Change-Id: Ic2f1fd7241a48a09657700a0466d1e042bc52a55 Change-Id: Iad54af59d7197958d300db4f78a043ae0dbb0e4f Signed-off-by: Sharlatan Hellseher --- gnu/packages/ncurses.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/ncurses.scm b/gnu/packages/ncurses.scm index 30d22f187b50f329394bd9eeb3985b0203cc557a..d8cea95f0bd8c1724a21883ec266e1813ca60b36 100644 --- a/gnu/packages/ncurses.scm +++ b/gnu/packages/ncurses.scm @@ -254,6 +254,33 @@ ncursesw library provides wide character support.") ((#:configure-flags cf) #~(cons "--with-termlib=tinfo" #$cf)))))) +(define-public cdk + (package + (name "cdk") + (version "5.0-20250116") + (source (origin + (method url-fetch) + (uri (string-append + "https://invisible-mirror.net/archives/cdk/cdk-" + version ".tgz")) + (sha256 + (base32 + "10ywvbnxwk6sfvlbkzfnbx9whsq9xv227znaiir742ym4h9d800m")))) + (build-system gnu-build-system) + ;; NOTE: This package does not have automated tests. + (arguments + (list #:configure-flags #~'("--with-shared" "--enable-rpath"))) + (inputs + (list ncurses)) + (synopsis "Curses widgets") + (description "Curses Development Kit (CDK) is a C library of widgets +which allow a programmer to quickly create TUI applications. Widgets are +objects whose appearance and behavior can be customized, e.g. a pulldown +menu or a file-viewer.") + (home-page "https://invisible-island.net/cdk/cdk.html") + ;; The license is identified as MIT-X11 (Expat) by the author. + (license (non-copyleft "file://share/doc/cdk/COPYING")))) + (define-public dialog (package (name "dialog")