1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools-scm, 6 pytestCheckHook, 7 stdenv, 8}: 9 10buildPythonPackage rec { 11 pname = "jaraco-path"; 12 version = "3.7.2"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "jaraco"; 17 repo = "jaraco.path"; 18 tag = "v${version}"; 19 hash = "sha256-uLkNMhB7aeDJ3fF0Ynjd8MD6+CTKKH8vsB5cH9RPcok="; 20 }; 21 22 build-system = [ setuptools-scm ]; 23 24 pythonImportsCheck = [ "jaraco.path" ]; 25 26 nativeCheckInputs = [ pytestCheckHook ]; 27 28 meta = { 29 changelog = "https://github.com/jaraco/jaraco.path/blob/${src.tag}/NEWS.rst"; 30 description = "Miscellaneous path functions"; 31 homepage = "https://github.com/jaraco/jaraco.path"; 32 license = lib.licenses.mit; 33 maintainers = with lib.maintainers; [ dotlambda ]; 34 broken = stdenv.hostPlatform.isDarwin; # pyobjc is missing 35 }; 36}