12 buildPythonPackage rec {
17 src = fetchFromGitHub {
21 hash = "sha256-thHghU+1Alpay5r9Dc3v7ATRFfYKV8l9qR0nbGOOX/A=";
24 patches = lib.optionals (pythonAtLeast "3.13") [
25 # Fix compatibility with Python 3.13
26 # https://github.com/pypa/installer/pull/201
27 ./python313-compat.patch
30 nativeBuildInputs = [ flit-core ];
32 # We need to disable tests because this package is part of the bootstrap chain
33 # and its test dependencies cannot be built yet when this is being built.
37 pytest = buildPythonPackage {
38 pname = "${pname}-pytest";
54 description = "Low-level library for installing a Python package from a wheel distribution";
55 homepage = "https://github.com/pypa/installer";
56 changelog = "https://github.com/pypa/installer/blob/${src.rev}/docs/changelog.md";
57 license = licenses.mit;
58 maintainers = teams.python.members ++ [ maintainers.cpcloud ];