netcup-dns/shell.nix

14 lines
286 B
Nix
Raw Permalink Normal View History

2023-09-28 17:12:10 +02:00
# https://nixos.wiki/wiki/Python#Development_shell
{ pkgs ? import <nixpkgs> {} }:
let
my-python-packages = ps: with ps; [
requests
nc-dnsapi
# Build dependencies only.
build
twine
];
my-python = pkgs.python3.withPackages my-python-packages;
in my-python.env