nixpkgs/pkgs/development/python-modules/dvc-http/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

54 lines
1 KiB
Nix
Raw Normal View History

{ lib
, aiohttp-retry
, buildPythonPackage
, fetchFromGitHub
, dvc-objects
, fsspec
, funcy
, pythonOlder
, pythonRelaxDepsHook
, setuptools-scm
}:
buildPythonPackage rec {
pname = "dvc-http";
version = "2.32.0";
2024-03-21 21:59:06 +01:00
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "iterative";
2024-03-21 21:59:06 +01:00
repo = "dvc-http";
rev = "refs/tags/${version}";
hash = "sha256-ru/hOFv/RcS/7SBpTJU8xFxdllmaiH4dV1ouS6GGKkY=";
};
2024-03-21 21:59:06 +01:00
build-system = [
setuptools-scm
];
2024-03-21 21:59:06 +01:00
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 = with lib; {
description = "HTTP plugin for dvc";
homepage = "https://github.com/iterative/dvc-http";
changelog = "https://github.com/iterative/dvc-http/releases/tag/${version}";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}