1{ 2 lib, 3 aiohttp-retry, 4 buildPythonPackage, 5 fetchFromGitHub, 6 dvc-objects, 7 fsspec, 8 funcy, 9 pythonOlder, 10 pythonRelaxDepsHook, 11 setuptools-scm, 12}: 13 14buildPythonPackage rec { 15 pname = "dvc-http"; 16 version = "2.32.0"; 17 pyproject = true; 18 19 disabled = pythonOlder "3.8"; 20 21 src = fetchFromGitHub { 22 owner = "iterative"; 23 repo = "dvc-http"; 24 rev = "refs/tags/${version}"; 25 hash = "sha256-ru/hOFv/RcS/7SBpTJU8xFxdllmaiH4dV1ouS6GGKkY="; 26 }; 27 28 build-system = [ setuptools-scm ]; 29 30 dependencies = [ 31 aiohttp-retry 32 dvc-objects 33 fsspec 34 funcy 35 ]; 36 37 # Currently it's not possible to run the tests 38 # ModuleNotFoundError: No module named 'dvc.testing' 39 doCheck = false; 40 41 pythonImportsCheck = [ "dvc_http" ]; 42 43 meta = with lib; { 44 description = "HTTP plugin for dvc"; 45 homepage = "https://github.com/iterative/dvc-http"; 46 changelog = "https://github.com/iterative/dvc-http/releases/tag/${version}"; 47 license = licenses.asl20; 48 maintainers = with maintainers; [ fab ]; 49 }; 50}