2021-03-20 00:19:24 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchurl,
|
|
|
|
libSM,
|
|
|
|
libX11,
|
|
|
|
libXt,
|
|
|
|
libffi,
|
|
|
|
ncurses,
|
|
|
|
}:
|
|
|
|
|
2023-04-21 14:36:18 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2021-03-20 00:19:24 +00:00
|
|
|
pname = "yabasic";
|
2024-12-02 11:04:27 +00:00
|
|
|
version = "2.90.5";
|
2021-03-20 00:19:24 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2023-04-21 14:36:18 +00:00
|
|
|
url = "http://www.yabasic.de/download/yabasic-${finalAttrs.version}.tar.gz";
|
2024-12-02 11:04:27 +00:00
|
|
|
hash = "sha256-w2a831Sm6sTWe7lfD6kirDzSvQX1Qpnw1aG+3ql8ww4=";
|
2021-03-20 00:19:24 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libSM
|
|
|
|
libX11
|
|
|
|
libXt
|
|
|
|
libffi
|
|
|
|
ncurses
|
|
|
|
];
|
|
|
|
|
2023-03-07 21:34:33 +00:00
|
|
|
meta = {
|
2021-07-31 06:34:18 +00:00
|
|
|
homepage = "http://2484.de/yabasic/";
|
2021-03-20 00:19:24 +00:00
|
|
|
description = "Yet another BASIC";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "yabasic";
|
2021-03-20 00:19:24 +00:00
|
|
|
longDescription = ''
|
|
|
|
Yabasic is a traditional basic-interpreter. It comes with goto and various
|
|
|
|
loops and allows to define subroutines and libraries. It does simple
|
|
|
|
graphics and printing. Yabasic can call out to libraries written in C and
|
|
|
|
allows to create standalone programs. Yabasic runs under Unix and Windows
|
|
|
|
and has a comprehensive documentation; it is small, simple, open-source
|
|
|
|
and free.
|
|
|
|
'';
|
2023-03-07 21:34:33 +00:00
|
|
|
changelog = "https://2484.de/yabasic/whatsnew.html";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ AndersonTorres ];
|
|
|
|
platforms = lib.platforms.all;
|
2021-03-20 00:19:24 +00:00
|
|
|
};
|
2023-03-07 21:34:33 +00:00
|
|
|
})
|