Skip to content

Commit

Permalink
Merge pull request #146963 from IreneKnapp/bwbasic
Browse files Browse the repository at this point in the history
bwbasic: init at 3.20
  • Loading branch information
veprbl authored Nov 23, 2021
2 parents 712b402 + fd5df16 commit ce9ebdc
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
37 changes: 37 additions & 0 deletions pkgs/development/interpreters/bwbasic/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{ lib, stdenv, dos2unix, fetchurl, unzip }:

stdenv.mkDerivation rec {
pname = "bwbasic";
version = "3.20";

src = fetchurl {
url = "mirror://sourceforge/project/bwbasic/bwbasic/version%203.20/bwbasic-3.20.zip";
sha256 = "1w9r4cl7z1lh52c1jpjragbspi1qn0zb7jhcsldav4gdnzxfw67f";
};

nativeBuildInputs = [ dos2unix unzip ];

unpackPhase = ''
unzip $src
'';

postPatch = ''
dos2unix configure
patchShebangs configure
chmod +x configure
'';

hardeningDisable = [ "format" ];

preInstall = ''
mkdir -p $out/bin
'';

meta = with lib; {
description = "Bywater BASIC Interpreter";
license = licenses.gpl2Only;
maintainers = with maintainers; [ irenes ];
platforms = platforms.all;
homepage = "https://sourceforge.net/projects/bwbasic/";
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2296,6 +2296,8 @@ with pkgs;

bwm_ng = callPackage ../tools/networking/bwm-ng { };

bwbasic = callPackage ../development/interpreters/bwbasic { };

byobu = callPackage ../tools/misc/byobu {
# Choices: [ tmux screen ];
textual-window-manager = tmux;
Expand Down

0 comments on commit ce9ebdc

Please sign in to comment.