mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 17:17:22 +01:00
27 lines
659 B
Nix
27 lines
659 B
Nix
{
|
|
description = "Python Flake";
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
};
|
|
|
|
outputs = {nixpkgs, ...}: let
|
|
system = "x86_64-linux";
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
in {
|
|
devShells.${system}.default = pkgs.mkShell {
|
|
packages = [
|
|
(pkgs.python3.withPackages (python-pkgs: [
|
|
python-pkgs.numpy
|
|
python-pkgs.pandas
|
|
python-pkgs.scipy
|
|
python-pkgs.matplotlib
|
|
python-pkgs.requests
|
|
python-pkgs.debugpy
|
|
python-pkgs.flake8
|
|
python-pkgs.gnureadline
|
|
python-pkgs.python-lsp-server
|
|
]))
|
|
];
|
|
};
|
|
};
|
|
}
|