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:
parent
ea1df3b3d4
commit
12843529c7
38
pkgs/development/python-modules/dvc-gs/default.nix
Normal file
38
pkgs/development/python-modules/dvc-gs/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue