summary refs log tree commit diff
path: root/doc/languages-frameworks/python.section.md
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2023-07-12 14:35:13 +0200
committerSandro Jäckel <sandro.jaeckel@gmail.com>2023-07-24 16:41:08 +0200
commit0a47d548015ec7a2306c545ec1cf060348e7885e (patch)
tree72dad340a38d66e1186e4fa46a542936c37d7788 /doc/languages-frameworks/python.section.md
parent8e284221f403c5579d02190ad2bc06d78576dfe2 (diff)
downloadnixpkgs-0a47d548015ec7a2306c545ec1cf060348e7885e.tar
nixpkgs-0a47d548015ec7a2306c545ec1cf060348e7885e.tar.gz
nixpkgs-0a47d548015ec7a2306c545ec1cf060348e7885e.tar.bz2
nixpkgs-0a47d548015ec7a2306c545ec1cf060348e7885e.tar.lz
nixpkgs-0a47d548015ec7a2306c545ec1cf060348e7885e.tar.xz
nixpkgs-0a47d548015ec7a2306c545ec1cf060348e7885e.tar.zst
nixpkgs-0a47d548015ec7a2306c545ec1cf060348e7885e.zip
docs/python: clarify allowance of using toosl to autogenerate packages
Diffstat (limited to 'doc/languages-frameworks/python.section.md')
-rw-r--r--doc/languages-frameworks/python.section.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/languages-frameworks/python.section.md b/doc/languages-frameworks/python.section.md
index 23c8526787b..947ce602865 100644
--- a/doc/languages-frameworks/python.section.md
+++ b/doc/languages-frameworks/python.section.md
@@ -1514,11 +1514,11 @@ Note: There is a boolean value `lib.inNixShell` set to `true` if nix-shell is in
 
 ### Tools {#tools}
 
-Packages inside nixpkgs are written by hand. However many tools exist in
-community to help save time. No tool is preferred at the moment.
+Packages inside nixpkgs must use the `buildPythonPackage` or `buildPythonApplication` function directly,
+because we can only provide security support for non-vendored dependencies.
 
-- [nixpkgs-pytools](https://github.com/nix-community/nixpkgs-pytools)
-- [poetry2nix](https://github.com/nix-community/poetry2nix)
+We recommend [nix-init](https://github.com/nix-community/nix-init) for creating new python packages within nixpkgs,
+as it already prefetches the source, parses dependencies for common formats and prefills most things in `meta`.
 
 ### Deterministic builds {#deterministic-builds}