pkgsets/python3: pkgs should be mergable function
This commit is contained in:
parent
eaf3bf45c5
commit
460d3f1d30
3 changed files with 32 additions and 21 deletions
|
@ -1,25 +1,33 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
|
||||
{
|
||||
machine.pkgsets.python3.pkgwrap = pkgs.python3.withPackages (
|
||||
ps: (fn.pkgFilter config.machine.pkgsets.python3.pkgs)
|
||||
);
|
||||
machine.pkgsets.python3.pkgs = with pkgs.python3Packages; [
|
||||
bpython
|
||||
flake8
|
||||
genanki
|
||||
matplotlib
|
||||
mypy
|
||||
mysqlclient
|
||||
numpy
|
||||
pandas
|
||||
pillow
|
||||
scipy
|
||||
virtualenv
|
||||
];
|
||||
machine.pkgsets.python3 = {
|
||||
pkgwrap = pkgs.python3.withPackages (config.machine.pkgsets.python3.pkgs);
|
||||
pkgs = ps: with ps; [
|
||||
bpython
|
||||
click
|
||||
flake8
|
||||
genanki
|
||||
holidays
|
||||
matplotlib
|
||||
mypy
|
||||
mysqlclient
|
||||
numpy
|
||||
pandas
|
||||
pillow
|
||||
pyaml
|
||||
scipy
|
||||
jupyter
|
||||
jupyterlab
|
||||
requests
|
||||
pip
|
||||
notebook
|
||||
seaborn
|
||||
virtualenv
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue