nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 56 lines 1.1 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 mock, 6 pathlib-abc, 7 pytestCheckHook, 8 setuptools, 9 smart-open, 10 typer, 11}: 12 13buildPythonPackage rec { 14 pname = "pathy"; 15 version = "0.11.0"; 16 pyproject = true; 17 18 src = fetchPypi { 19 inherit pname version; 20 hash = "sha256-uz0OawuL92709jxxkeluCvLtZcj9tfoXSI+ch55jcG0="; 21 }; 22 23 pythonRelaxDeps = [ "smart-open" ]; 24 25 build-system = [ setuptools ]; 26 27 dependencies = [ 28 pathlib-abc 29 smart-open 30 typer 31 ]; 32 33 nativeCheckInputs = [ 34 mock 35 pytestCheckHook 36 ]; 37 38 disabledTestPaths = [ 39 # Exclude tests that require provider credentials 40 "pathy/_tests/test_clients.py" 41 "pathy/_tests/test_gcs.py" 42 "pathy/_tests/test_s3.py" 43 ]; 44 45 pythonImportsCheck = [ "pathy" ]; 46 47 meta = { 48 # Marked broken 2025-11-28 because it has failed on Hydra for at least one year. 49 broken = true; 50 # https://github.com/justindujardin/pathy/issues/113 51 description = "Path interface for local and cloud bucket storage"; 52 mainProgram = "pathy"; 53 homepage = "https://github.com/justindujardin/pathy"; 54 license = lib.licenses.asl20; 55 }; 56}