forked from sigalor/whatsapp-web-reveng
-
Notifications
You must be signed in to change notification settings - Fork 0
/
shell.nix
37 lines (36 loc) · 1.26 KB
/
shell.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
with import <nixpkgs> {};
let
pythonEnv = python27.withPackages (ps: [
ps.websocket_client
ps.curve25519-donna
ps.pycrypto
ps.pyqrcode
ps.protobuf
ps.simple-websocket-server
]);
in mkShell {
buildInputs = [
pythonEnv
nodejs-13_x
];
shellHook = ''
echo "Installing node modules"
npm ci
echo "Done."
echo '
$$\ $$\ $$\ $$\
$$ | $\ $$ |$$ | $$ |
$$ |$$$\ $$ |$$$$$$$\ $$$$$$\ $$$$$$\ $$$$$$$\ $$$$$$\ $$$$$$\ $$$$$$\
$$ $$ $$\$$ |$$ __$$\ \____$$\\_$$ _| $$ _____| \____$$\ $$ __$$\ $$ __$$\
$$$$ _$$$$ |$$ | $$ | $$$$$$$ | $$ | \$$$$$$\ $$$$$$$ |$$ / $$ |$$ / $$ |
$$$ / \$$$ |$$ | $$ |$$ __$$ | $$ |$$\ \____$$\ $$ __$$ |$$ | $$ |$$ | $$ |
$$ / \$$ |$$ | $$ |\$$$$$$$ | \$$$$ |$$$$$$$ |\$$$$$$$ |$$$$$$$ |$$$$$$$ |
\__/ \__|\__| \__| \_______| \____/ \_______/ \_______|$$ ____/ $$ ____/
$$ | $$ |
$$ | $$ |
\__| \__|'
echo "Node $(node --version)"
echo "$(python --version)"
echo "Try running server with: npm start"
'';
}