From ef61a6339c7ea3e84e58f3a48fc76a6d02556e0f Mon Sep 17 00:00:00 2001 From: natsukium Date: Sun, 2 Jun 2024 00:54:09 +0900 Subject: [PATCH] doc/languages-frameworks/python: normalize pname and add description --- doc/languages-frameworks/python.section.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/languages-frameworks/python.section.md b/doc/languages-frameworks/python.section.md index 09c42a942844..4d35c2071e55 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;