mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-23 13:36:31 +02:00
Nix: add python packages
This commit is contained in:
parent
10183d0638
commit
ffca3faddb
1 changed files with 12 additions and 2 deletions
|
@ -1,9 +1,19 @@
|
|||
{pkgs, piston, ...}:
|
||||
let
|
||||
pkg = pkgs.python3;
|
||||
piston-python-packages = python-packages: with python-packages; [
|
||||
numpy
|
||||
scipy
|
||||
pandas
|
||||
pycrypto
|
||||
whoosh
|
||||
bcrypt
|
||||
passlib
|
||||
sympy
|
||||
];
|
||||
pkg = pkgs.python3.withPackages piston-python-packages;
|
||||
in piston.mkRuntime {
|
||||
language = "python3";
|
||||
version = pkg.version;
|
||||
version = pkgs.python3.version;
|
||||
|
||||
aliases = [
|
||||
"py3"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue