about summary refs log tree commit diff
path: root/doc/languages-frameworks/python.section.md
diff options
context:
space:
mode:
authornatsukium <tomoya.otabi@gmail.com>2024-06-02 00:54:09 +0900
committernatsukium <tomoya.otabi@gmail.com>2024-06-04 09:02:05 +0900
commitef61a6339c7ea3e84e58f3a48fc76a6d02556e0f (patch)
tree7903fe6ed286b1966ab973194a808b88eca62a35 /doc/languages-frameworks/python.section.md
parenta4d5b5644888cc94403e332934458b321db2ffbf (diff)
doc/languages-frameworks/python: normalize pname and add description
Diffstat (limited to 'doc/languages-frameworks/python.section.md')
-rw-r--r--doc/languages-frameworks/python.section.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/languages-frameworks/python.section.md b/doc/languages-frameworks/python.section.md
index 09c42a942844f..4d35c2071e55c 100644
--- a/doc/languages-frameworks/python.section.md
+++ b/doc/languages-frameworks/python.section.md
@@ -604,7 +604,8 @@ that sets up an interpreter pointing to them. This matters much more for "big"
 modules like `pytorch` or `tensorflow`.
 
 Module names usually match their names on [pypi.org](https://pypi.org/), but
-you can use the [Nixpkgs search website](https://nixos.org/nixos/packages.html)
+normalized according to PEP 503/508. (e.g. Foo__Bar.baz -> foo-bar-baz)
+You can use the [Nixpkgs search website](https://nixos.org/nixos/packages.html)
 to find them as well (along with non-python packages).
 
 At this point we can create throwaway experimental Python environments with
@@ -1081,7 +1082,7 @@ therefore we have to set `LDFLAGS` and `CFLAGS`.
 }:
 
 buildPythonPackage rec {
-  pname = "pyFFTW";
+  pname = "pyfftw";
   version = "0.9.2";
   pyproject = true;