de-p1st-monitor/shell.nix

13 lines
270 B
Nix
Raw Normal View History

2023-10-05 16:16:53 +02:00
# https://nixos.wiki/wiki/Python#Development_shell
{ pkgs ? import <nixpkgs> {} }:
let
my-python-packages = ps: with ps; [
psutil
2023-10-05 18:14:44 +02:00
# Build dependencies only.
build
twine
2023-10-05 16:16:53 +02:00
];
my-python = pkgs.python3.withPackages my-python-packages;
in my-python.env