From 9e02095f4ebf30eaf3291bca1e495e475e0a0784 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Thu, 22 Sep 2022 13:28:11 +0200 Subject: Python docs: document attribute to use for non-PyPI projects --- doc/languages-frameworks/python.section.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') diff --git a/doc/languages-frameworks/python.section.md b/doc/languages-frameworks/python.section.md index bde4183a65b1a..fa7aa3ec924e7 100644 --- a/doc/languages-frameworks/python.section.md +++ b/doc/languages-frameworks/python.section.md @@ -1780,6 +1780,10 @@ The following rules are desired to be respected: that characters should be converted to lowercase and `.` and `_` should be replaced by a single `-` (foo-bar-baz instead of Foo__Bar.baz). If necessary, `pname` has to be given a different value within `fetchPypi`. +* Packages from sources such as GitHub and GitLab that do not exist on PyPI + should not use a name that is already used on PyPI. When possible, they should + use the package repository name prefixed with the owner (e.g. organization) name + and using a `-` as delimiter. * Attribute names in `python-packages.nix` should be sorted alphanumerically to avoid merge conflicts and ease locating attributes. -- cgit 1.4.1