Files
nixpkgs/pkgs/development/python-modules/dvc-http/default.nix
T
2026-03-01 12:35:36 +01:00

51 lines
1006 B
Nix

{
lib,
aiohttp-retry,
buildPythonPackage,
fetchFromGitHub,
dvc-objects,
fsspec,
funcy,
setuptools,
setuptools-scm,
}:
buildPythonPackage (finalAttrs: {
pname = "dvc-http";
version = "2.32.0";
pyproject = true;
src = fetchFromGitHub {
owner = "iterative";
repo = "dvc-http";
tag = finalAttrs.version;
hash = "sha256-ru/hOFv/RcS/7SBpTJU8xFxdllmaiH4dV1ouS6GGKkY=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
aiohttp-retry
dvc-objects
fsspec
funcy
];
# Currently it's not possible to run the tests
# ModuleNotFoundError: No module named 'dvc.testing'
doCheck = false;
pythonImportsCheck = [ "dvc_http" ];
meta = {
description = "HTTP plugin for dvc";
homepage = "https://github.com/iterative/dvc-http";
changelog = "https://github.com/iterative/dvc-http/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
})