Files
nixpkgs/pkgs/development/python-modules/distlib/default.nix
Martin Weinelt 2d2ea35660 python3Packages.distlib: 0.3.9 -> 0.4.0
This commit was automatically generated using update-python-libraries.
2025-08-09 18:59:04 +02:00

46 lines
895 B
Nix

{
lib,
stdenv,
buildPythonPackage,
fetchPypi,
setuptools,
}:
buildPythonPackage rec {
pname = "distlib";
version = "0.4.0";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-/uxAB1vgOgRQGpc9gfYzc1tLafmLBUUFkjEMD0AaTg0=";
};
nativeBuildInputs = [ setuptools ];
postFixup = lib.optionalString (!stdenv.hostPlatform.isWindows) ''
find $out -name '*.exe' -delete
'';
pythonImportsCheck = [
"distlib"
"distlib.database"
"distlib.locators"
"distlib.index"
"distlib.markers"
"distlib.metadata"
"distlib.util"
"distlib.resources"
];
# Tests use pypi.org.
doCheck = false;
meta = with lib; {
description = "Low-level components of distutils2/packaging";
homepage = "https://distlib.readthedocs.io";
license = licenses.psfl;
maintainers = with maintainers; [ lnl7 ];
};
}