From 2be01a1edc13ddf60d9054c61d3518ecd03b4f0b Mon Sep 17 00:00:00 2001 From: derped Date: Thu, 9 May 2024 16:56:17 +0200 Subject: [PATCH] Remove most python packages and use default python version. --- pkgsets/python3.nix | 35 ++--------------------------------- services/desktop/i3.nix | 2 +- 2 files changed, 3 insertions(+), 34 deletions(-) diff --git a/pkgsets/python3.nix b/pkgsets/python3.nix index 8c9e5ae..6cebbf9 100644 --- a/pkgsets/python3.nix +++ b/pkgsets/python3.nix @@ -6,48 +6,17 @@ ... }: with lib; { - config.machine.pkgsets.python3.pkgwrap = pkgs.python310.withPackages (ps: (fn.pkgFilter config.machine.pkgsets.python3.pkgs)); - config.machine.pkgsets.python3.pkgs = with pkgs.python310Packages; [ - GitPython + config.machine.pkgsets.python3.pkgwrap = pkgs.python3.withPackages (ps: (fn.pkgFilter config.machine.pkgsets.python3.pkgs)); + config.machine.pkgsets.python3.pkgs = with pkgs.python3Packages; [ bpython - configparser - pysrt - emoji - epc flake8 genanki matplotlib - ipywidgets - python-docx mypy numpy mysqlclient pandas - # ocv3 scipy scikitimage (imutils.override { opencv3 = ocv3; }) - paho-mqtt - pep8 pillow - pip - plotly - pyflakes - pypdf2 - # pygame pygame_sdl2 - pylama - pylint - toml - pyopengl - pyproj - pytest - requests - schedule - scipy - selenium - setuptools - telegram - tkinter - toolz - tifffile virtualenv - # xdot ]; } diff --git a/services/desktop/i3.nix b/services/desktop/i3.nix index 0f7cd0a..88326cf 100644 --- a/services/desktop/i3.nix +++ b/services/desktop/i3.nix @@ -20,5 +20,5 @@ with lib; ]; }; }; - machine.pkgsets.python3.pkgs = with pkgs.python310Packages; [py3status pytz tzlocal]; + machine.pkgsets.python3.pkgs = with pkgs.python3Packages; [py3status pytz tzlocal]; }