12 buildPythonPackage rec {
14 version = "2.3.7.post1";
15 format = "setuptools";
18 inherit pname version;
19 hash = "sha256-n+DtrYmLg8DD4ZnIQrJ+0hZkXS4Xd1ey3Wc4TUETxkE=";
22 propagatedBuildInputs =
24 ++ lib.optionals (pythonOlder "3.5") [
28 nativeCheckInputs = [ glibcLocales ];
31 export LC_ALL="en_US.UTF-8"
35 description = "This module offers classes representing filesystem paths with semantics appropriate for different operating systems";
36 homepage = "https://pypi.org/project/pathlib2/";
37 license = with licenses; [ mit ];