nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, stdenv
3, fetchurl
4, libSM
5, libX11
6, libXt
7, libffi
8, ncurses
9}:
10
11stdenv.mkDerivation (finalAttrs: {
12 pname = "yabasic";
13 version = "2.90.3";
14
15 src = fetchurl {
16 url = "http://www.yabasic.de/download/yabasic-${finalAttrs.version}.tar.gz";
17 hash = "sha256-ItmlkraNUE0qlq1RghUJcDq4MHb6HRKNoIRylugjboA=";
18 };
19
20 buildInputs = [
21 libSM
22 libX11
23 libXt
24 libffi
25 ncurses
26 ];
27
28 meta = {
29 homepage = "http://2484.de/yabasic/";
30 description = "Yet another BASIC";
31 longDescription = ''
32 Yabasic is a traditional basic-interpreter. It comes with goto and various
33 loops and allows to define subroutines and libraries. It does simple
34 graphics and printing. Yabasic can call out to libraries written in C and
35 allows to create standalone programs. Yabasic runs under Unix and Windows
36 and has a comprehensive documentation; it is small, simple, open-source
37 and free.
38 '';
39 changelog = "https://2484.de/yabasic/whatsnew.html";
40 license = lib.licenses.mit;
41 maintainers = with lib.maintainers; [ AndersonTorres ];
42 platforms = lib.platforms.all;
43 };
44})