2021-03-23 19:22:30 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, libSM
|
|
|
|
, libX11
|
|
|
|
, libXt
|
|
|
|
, libffi
|
|
|
|
, ncurses
|
|
|
|
}:
|
|
|
|
|
2023-04-29 16:46:19 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2021-03-23 19:22:30 +00:00
|
|
|
pname = "yabasic";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "2.90.4";
|
2021-03-23 19:22:30 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2023-04-29 16:46:19 +00:00
|
|
|
url = "http://www.yabasic.de/download/yabasic-${finalAttrs.version}.tar.gz";
|
2023-10-09 19:29:22 +00:00
|
|
|
hash = "sha256-td54SC1LnO3z07m3BsVDpiAsmokzB4xn4dbVdfeYH8M=";
|
2021-03-23 19:22:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libSM
|
|
|
|
libX11
|
|
|
|
libXt
|
|
|
|
libffi
|
|
|
|
ncurses
|
|
|
|
];
|
|
|
|
|
2023-03-15 16:39:30 +00:00
|
|
|
meta = {
|
2021-08-05 21:33:18 +00:00
|
|
|
homepage = "http://2484.de/yabasic/";
|
2021-03-23 19:22:30 +00:00
|
|
|
description = "Yet another BASIC";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "yabasic";
|
2021-03-23 19:22:30 +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-15 16:39:30 +00:00
|
|
|
changelog = "https://2484.de/yabasic/whatsnew.html";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ AndersonTorres ];
|
|
|
|
platforms = lib.platforms.all;
|
2021-03-23 19:22:30 +00:00
|
|
|
};
|
2023-03-15 16:39:30 +00:00
|
|
|
})
|