diff options
author | Karel Kočí <cynerd@email.cz> | 2023-03-23 12:31:51 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2023-03-23 12:31:51 +0100 |
commit | 2dbccc394a4964a2a3badd192184b6d35dd63336 (patch) | |
tree | d11b10501f7f0e520898590969a5c040d6f739f7 /devShells/python.nix | |
parent | 28f1ed4a6a1cbf9b32904a010310e3da0f29b81b (diff) | |
download | nixos-personal-2dbccc394a4964a2a3badd192184b6d35dd63336.tar.gz nixos-personal-2dbccc394a4964a2a3badd192184b6d35dd63336.tar.bz2 nixos-personal-2dbccc394a4964a2a3badd192184b6d35dd63336.zip |
Rework how I pass packages to the NixOS
Diffstat (limited to 'devShells/python.nix')
-rw-r--r-- | devShells/python.nix | 109 |
1 files changed, 53 insertions, 56 deletions
diff --git a/devShells/python.nix b/devShells/python.nix index 570840d..d0a40b5 100644 --- a/devShells/python.nix +++ b/devShells/python.nix @@ -1,58 +1,55 @@ { - system, - nixpkgs, + pkgs, default, -}: let - pkgs = nixpkgs.legacyPackages.${system}; -in - pkgs.mkShell { - packages = with pkgs; [ - (python3.withPackages (pypkgs: - with pypkgs; [ - ipython - - pytest - pytest-html - pytest-tap - coverage - python-lsp-black - pylint - pydocstyle - mypy - - pygraphviz - matplotlib - - python-gitlab - PyGithub - - schema - jinja2 - ruamel-yaml - msgpack - urllib3 - - influxdb-client - psycopg - paho-mqtt - - humanize - rich - - pygobject3 - - pyserial - pylibftdi - pylxd - selenium - ])) - geckodriver - chromedriver - - gobject-introspection - gtk3 - gtk4 - ]; - inputsFrom = with pkgs; [default]; - meta.platforms = nixpkgs.lib.platforms.linux; - } +}: +pkgs.mkShell { + packages = with pkgs; [ + (python3.withPackages (pypkgs: + with pypkgs; [ + ipython + + pytest + pytest-html + pytest-tap + coverage + python-lsp-black + pylint + pydocstyle + mypy + + pygraphviz + matplotlib + + python-gitlab + PyGithub + + schema + jinja2 + ruamel-yaml + msgpack + urllib3 + + influxdb-client + psycopg + paho-mqtt + + humanize + rich + + pygobject3 + + pyserial + pylibftdi + pylxd + selenium + ])) + geckodriver + chromedriver + + gobject-introspection + gtk3 + gtk4 + ]; + inputsFrom = with pkgs; [default]; + meta.platforms = pkgs.lib.platforms.linux; +} |