1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonAtLeast, 6}: 7 8buildPythonPackage rec { 9 pname = "pathtools"; 10 version = "0.1.2"; 11 format = "setuptools"; 12 13 # imp and distuils usage, last commit in 2016 14 disabled = pythonAtLeast "3.12"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "1h7iam33vwxk8bvslfj4qlsdprdnwf8bvzhqh3jq5frr391cadbw"; 19 }; 20 21 meta = with lib; { 22 description = "Pattern matching and various utilities for file systems paths"; 23 homepage = "https://github.com/gorakhargosh/pathtools"; 24 license = licenses.mit; 25 maintainers = [ ]; 26 }; 27}