Add unix script

This commit is contained in:
ItsDrike 2024-06-21 15:35:32 +02:00
parent 58731c52fb
commit 48eca48562
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0
4 changed files with 38 additions and 0 deletions

View file

@ -9,5 +9,6 @@ in {
bitcoin bitcoin
cheatsh cheatsh
colors256 colors256
unix
]; ];
} }

View file

@ -6,6 +6,7 @@
bitcoin = pkgs.callPackage ./bitcoin.nix {}; bitcoin = pkgs.callPackage ./bitcoin.nix {};
cheatsh = pkgs.callPackage ./cheatsh {}; cheatsh = pkgs.callPackage ./cheatsh {};
colors256 = pkgs.callPackage ./colors256 {}; colors256 = pkgs.callPackage ./colors256 {};
unix = pkgs.callPackage ./unix {};
}; };
in in
packages packages

View file

@ -0,0 +1,10 @@
{pkgs, ...}:
(pkgs.writeShellApplication {
name = "unix";
runtimeInputs = with pkgs; [coreutils];
text = ''
${builtins.readFile ./unix.sh}
'';
})

View file

@ -0,0 +1,26 @@
#!/bin/sh
#original artwork by http://www.sanderfocus.nl/#/portfolio/tech-heroes
#converted to shell by #nixers @ irc.unix.chat
cat <<'eof'
,_ ,_==▄▂
, ▂▃▄▄▅▅▅▂▅¾. / /
▄▆<´ "»▓▓▓%\ / / / /
,▅7" ´>▓▓▓% / / > / >/%
▐¶▓ ,»▓▓¾´ /> %/%// / /
▓▃▅▅▅▃,,▄▅▅▅Æ\// ///>// />/ /
V║«¼.;→ ║<«.,`=// />//%/% / /
//╠<´ -²,)(~"-╝/¾/ %/>/ />
/ / / ▐% -./▄▃▄▅▐, /7//;//% / /
/ ////`▌▐ %zWv xX▓▇▌//&;% / /
/ / / %//%/¾½´▌▃▄▄▄▄▃▃▐¶\/& /
</ /</%//`▓!%▓%╣[38;5;255;WY<Y)y&/`\
/ / %/%//</%//\i7; ╠N>)VY>7; \_ UNIX IS VERY SIMPLE IT JUST NEEDS A
/ /</ //<///<_/%\▓ V%W%£)XY _/%‾\_, GENIUS TO UNDERSTAND ITS SIMPLICITY
/ / //%/_,=--^/%/%%%¶%%} /%%%%%%;\,
%/< /_/ %%%%%;X%%\%%;, _/%%%;, \
/ / %%%%%%;, \%%l%%;// _/%;, dmr
/ %%%;, <;\-=-/ /
;, l
eof