Next: Номера версий, Previous: Свобода программного обеспечения, Up: Принципы опакечивания [Contents][Index]
A package actually has two names associated with it. First, there is the
name of the Scheme variable, the one following define-public
.
By this name, the package can be made known in the Scheme code, for instance
as input to another package. Second, there is the string in the name
field of a package definition. This name is used by package management
commands such as guix package
and guix build
.
Оба обычно представляют собой строки в нижнем регистре, содержащие имя
оригинального проекта с дефисами вместо символов нижнего
подчёркивания. Например, GNUnet доступен как gnunet
, а SDL_net —
как sdl-net
.
A noteworthy exception to this rule is when the project name is only a
single character, or if an older maintained project with the same name
already exists—regardless of whether it has already been packaged for
Guix. Use common sense to make such names unambiguous and meaningful. For
example, Guix’s package for the shell called “s” upstream is
s-shell
and not s
. Feel free to ask your fellow
hackers for inspiration.
Мы не добавляем приставку lib
для пакетов библиотек, несмотря на то,
что это уже часть официального имени пакета. Но для see Модули Python и
Модули Perl есть исключения, касающиеся модулей для языков Python и
Perl.
При именовании пакетов шрифтов имена меняются, see Шрифты.