Last active
August 7, 2021 10:28
-
-
Save balodja/667033bf4c2c234088cbbe562aabd96b to your computer and use it in GitHub Desktop.
snad part of config.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
snadShell = | |
let | |
plotext = ps: with ps; buildPythonPackage rec { | |
pname = "plotext"; | |
version = "3.1.3"; | |
src = fetchFromGitHub { | |
owner = "piccolomo"; | |
repo = "plotext"; | |
rev = "9c78491"; | |
sha256 = "1hf3gzjrls760z7csdg1d3rjkr4535z8af33w7hdgcfrrmvfw53y"; | |
}; | |
doCheck = false; | |
}; | |
# сейчас не используется, полезно для отладки sklearn | |
sklearn = python3Packages.scikit-learn.overrideAttrs (oldAttrs: { | |
src = /home/balodja/projects/sai/scikit-learn; | |
patches = [ ]; | |
doCheck = false; | |
doInstallCheck = false; | |
}); | |
pythonDev = ps: with ps; [ | |
pip scipy pandas ipython jupyter | |
cython numba | |
pylint flake8 pycodestyle pytest | |
pdoc3 | |
pyqt5 pyside2 matplotlib scikit-learn | |
(plotext ps) | |
]; | |
in mkShell { | |
buildInputs = [ (python3.withPackages pythonDev) ]; | |
shellHook = "export SHELLENV=snadenv"; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment