2025-06-15 12:33:50 +00:00

47 lines
1.1 KiB
Nix

{
lib,
stdenv,
fetchurl,
libSM,
libX11,
libXt,
libffi,
ncurses,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "yabasic";
version = "2.91.3";
src = fetchurl {
url = "http://www.yabasic.de/download/yabasic-${finalAttrs.version}.tar.gz";
hash = "sha256-+sS3kfWhM4Wwr0SGvkx85eTjXxc9WBvEU3J0Xy4Dcfo=";
};
buildInputs = [
libSM
libX11
libXt
libffi
ncurses
];
meta = {
homepage = "http://2484.de/yabasic/";
description = "Yet another BASIC";
mainProgram = "yabasic";
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.
'';
changelog = "https://2484.de/yabasic/whatsnew.html";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ];
platforms = lib.platforms.all;
};
})