Merge master into nix-packages and fix conflicts

This commit is contained in:
Omar Brikaa 2022-07-03 11:39:54 +02:00
commit 12fec39897
22 changed files with 160 additions and 17 deletions

15
packages/emojicode/1.0.2/build.sh vendored Normal file
View file

@ -0,0 +1,15 @@
curl -L https://github.com/emojicode/emojicode/releases/download/v1.0-beta.2/Emojicode-1.0-beta.2-Linux-x86_64.tar.gz -o emoji.tar.gz
tar xzf emoji.tar.gz
mv Emojicode-1.0-beta.2-Linux-x86_64 emoji
rm emoji.tar.gz
cd emoji
./install.sh
chmod +x emojicodec
cd ..

4
packages/emojicode/1.0.2/compile vendored Normal file
View file

@ -0,0 +1,4 @@
#!/usr/bin/env bash
"$EMOJI_PATH"/emojicodec -S "$EMOJI_PATH"/packages "$1" -o "bruh.exe"
chmod +x "bruh.exe"

5
packages/emojicode/1.0.2/environment vendored Normal file
View file

@ -0,0 +1,5 @@
#!/usr/bin/env bash
# Put 'export' statements here for environment variables
export PATH=$PWD/bin:$PATH
export EMOJI_PATH=$PWD/emoji

View file

@ -0,0 +1,7 @@
{
"language": "emojicode",
"version": "1.0.2",
"aliases": [
"emojic"
]
}

5
packages/emojicode/1.0.2/run vendored Normal file
View file

@ -0,0 +1,5 @@
#!/usr/bin/env bash
shift
./"bruh.exe" "$@"

3
packages/emojicode/1.0.2/test.emojic vendored Normal file
View file

@ -0,0 +1,3 @@
🏁 🍇
😀 🔤OK🔤❗
🍉

12
packages/forth/0.7.3/build.sh vendored Normal file
View file

@ -0,0 +1,12 @@
curl -L https://ftp.gnu.org/gnu/gforth/gforth-0.7.3.tar.gz -o forth.tar.gz
tar xzf forth.tar.gz
rm forth.tar.gz
cd gforth-0.7.3/
./BUILD-FROM-SCRATCH --host=x86_64 --build=x86_64
make
make install
chmod +x ./gforth
cd ..

5
packages/forth/0.7.3/environment vendored Normal file
View file

@ -0,0 +1,5 @@
#!/usr/bin/env bash
# Put 'export' statements here for environment variables
export PATH=$PWD/bin:$PATH
export FORTH_PATH=$PWD/gforth-0.7.3

7
packages/forth/0.7.3/metadata.json vendored Normal file
View file

@ -0,0 +1,7 @@
{
"language": "forth",
"version": "0.7.3",
"aliases": [
"gforth"
]
}

4
packages/forth/0.7.3/run vendored Normal file
View file

@ -0,0 +1,4 @@
#!/usr/bin/env bash
$FORTH_PATH/gforth "$@"

1
packages/forth/0.7.3/test.forth vendored Normal file
View file

@ -0,0 +1 @@
.( OK) bye

19
packages/smalltalk/3.2.3/build.sh vendored Normal file
View file

@ -0,0 +1,19 @@
#!/usr/bin/env bash
set -e
curl -L https://ftp.gnu.org/gnu/smalltalk/smalltalk-3.2.3.tar.gz -o smalltalk-3.2.3.tar.gz
tar xzf smalltalk-3.2.3.tar.gz
rm smalltalk-3.2.3.tar.gz
cd smalltalk-3.2.3
./configure
rm libc.la
make
make install
chmod +x gst
cd ..

5
packages/smalltalk/3.2.3/environment vendored Normal file
View file

@ -0,0 +1,5 @@
#!/usr/bin/env bash
# Put 'export' statements here for environment variables
export PATH=$PWD/bin:$PATH
export SMALLTALK_PATH=$PWD/smalltalk-3.2.3

View file

@ -0,0 +1,5 @@
{
"language": "smalltalk",
"version": "3.2.3",
"aliases": ["st"]
}

8
packages/smalltalk/3.2.3/run vendored Normal file
View file

@ -0,0 +1,8 @@
#!/usr/bin/env bash
code_file=`pwd`/"$1"
shift
cd $SMALLTALK_PATH
$SMALLTALK_PATH/gst "$code_file" -a "$@"

1
packages/smalltalk/3.2.3/test.st vendored Normal file
View file

@ -0,0 +1 @@
'OK' display

19
packages/sqlite3/3.36.0/run vendored Normal file
View file

@ -0,0 +1,19 @@
#!/bin/bash
code=`cat "$1"`
shift
argv_text=""
for arg in "$@"
do
argv_text+='insert into argv (arg) values ("'"`echo "$arg" | sed 's/"/""/g'`"'");
'
done
sqlite3 <<< "create table argv (arg text);
$argv_text
$code"