3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.dvc-gs: init at 2.21.0

Co-authored-by: Ryan Swart <ryan@talosystems.com>
This commit is contained in:
Matt Melling 2023-01-29 19:27:24 +00:00 committed by Fabian Affolter
parent ea1df3b3d4
commit 12843529c7
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,38 @@
{ lib
, buildPythonPackage
, dvc-objects
, fetchPypi
, gcsfs
, pythonRelaxDepsHook
, setuptools-scm }:
buildPythonPackage rec {
pname = "dvc-gs";
version = "2.21.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-MGNDEhJJGSQIPDXGv/y4u1UHnh4HnNbKtQbGHys0dSA=";
};
# Prevent circular dependency
pythonRemoveDeps = [ "dvc" ];
nativeBuildInputs = [ setuptools-scm pythonRelaxDepsHook ];
propagatedBuildInputs = [ gcsfs dvc-objects ];
# Network access is needed for tests
doCheck = false;
pythonCheckImports = [ "dvc_gs" ];
meta = with lib; {
description = "gs plugin for dvc";
homepage = "https://pypi.org/project/dvc-gs/version";
changelog = "https://github.com/iterative/dvc-gs/releases/tag/${version}";
license = licenses.asl20;
maintainers = with maintainers; [ melling ];
};
}

View file

@ -2999,6 +2999,8 @@ self: super: with self; {
dvc-data = callPackage ../development/python-modules/dvc-data { };
dvc-gs = callPackage ../development/python-modules/dvc-gs { };
dvc-http = callPackage ../development/python-modules/dvc-http { };
dvc-objects = callPackage ../development/python-modules/dvc-objects { };