diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..1d953f4 --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use nix diff --git a/pyproject.toml b/pyproject.toml index b8ad7e2..0914385 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,5 +3,5 @@ line-length = 100 skip-string-normalization = true # default is per-file auto-detection -target-version = ['py38'] -include = '\.py$' \ No newline at end of file +target-version = ['py313'] +include = '\.py$' diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..1a02f86 --- /dev/null +++ b/shell.nix @@ -0,0 +1,13 @@ +# https://github.com/NixOS/nixpkgs/issues/205072 +{ pkgs ? import { } }: + +let + pythonEnv = pkgs.python3.withPackages (ps: with ps; [ websockify ]); +in +pkgs.mkShell { + packages = [ + pythonEnv + pkgs.openldap + pkgs.cyrus_sasl + ]; +}