5083ee08a2
GitOrigin-RevId: 10ecda252ce1b3b1d6403caeadbcc8f30d5ab796
42 lines
774 B
Nix
42 lines
774 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, setuptools
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "distlib";
|
|
version = "0.3.6";
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-FLrS2bBNOjYSesl/MLEqGSaPIRBj2PjuT0cQiJbhG0Y=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|
|
|