1{ lib
2, buildPythonPackage
3, fetchPypi
4, setuptools
5}:
6
7buildPythonPackage rec {
8 pname = "distlib";
9 version = "0.3.6";
10 format = "pyproject";
11
12 src = fetchPypi {
13 inherit pname version;
14 hash = "sha256-FLrS2bBNOjYSesl/MLEqGSaPIRBj2PjuT0cQiJbhG0Y=";
15 };
16
17 nativeBuildInputs = [
18 setuptools
19 ];
20
21 pythonImportsCheck = [
22 "distlib"
23 "distlib.database"
24 "distlib.locators"
25 "distlib.index"
26 "distlib.markers"
27 "distlib.metadata"
28 "distlib.util"
29 "distlib.resources"
30 ];
31
32 # Tests use pypi.org.
33 doCheck = false;
34
35 meta = with lib; {
36 description = "Low-level components of distutils2/packaging";
37 homepage = "https://distlib.readthedocs.io";
38 license = licenses.psfl;
39 maintainers = with maintainers; [ lnl7 ];
40 };
41}
42