pep600
lib.pep600.legacyAliases
Type: legacyAliases.${tag} :: AttrSet -> string
Map legacy (pre PEP-600) platform tags to PEP-600 compliant ones.
https://peps.python.org/pep-0600/#legacy-manylinux-tags
::: {.example #function-library-example-lib.pep600.legacyAliases}
lib.pep600.legacyAliases
usage example
# legacyAliases."manylinux1_x86_64" or "manylinux1_x86_64"
"manylinux_2_5_x86_64"
:::
lib.pep600.manyLinuxTagCompatible
Type: manyLinuxTagCompatible :: AttrSet -> derivation -> string -> bool
Check if a manylinux tag is compatible with a given stdenv.
platform
: Platform attrset (lib.systems.elaborate "x86_64-linux"
)
libc
: Libc derivation
tag
: Platform tag string
::: {.example #function-library-example-lib.pep600.manyLinuxTagCompatible}
lib.pep600.manyLinuxTagCompatible
usage example
# manyLinuxTagCompatible pkgs.stdenv.targetPlatform pkgs.stdenv.cc.libc "manylinux_2_5_x86_64"
true
:::