Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738{ stdenv, python, flit-core,}:
stdenv.mkDerivation { pname = "${python.libPrefix}-bootstrap-${flit-core.pname}"; inherit (flit-core) version src patches meta ;
postPatch = "cd flit_core";
buildPhase = '' runHook preBuild
${python.interpreter} -m flit_core.wheel
runHook postBuild '';
installPhase = '' runHook preInstall
${python.interpreter} bootstrap_install.py dist/flit_core-*.whl \ --install-root "$out" --installdir "/${python.sitePackages}"
runHook postInstall '';
strictDeps = true; __structuredAttrs = true;}