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