50 , enableGoogle ? false
56 buildPythonPackage rec {
61 src = fetchFromGitHub {
64 rev = "refs/tags/${version}";
65 hash = "sha256-UFAqcO6SG/1ufzylrNuOpJaH2hlIo0ZkSLEfxi8OqLw=";
74 substituteInPlace dvc/analytics.py --replace 'enabled = not os.getenv(DVC_NO_ANALYTICS)' 'enabled = False'
75 substituteInPlace dvc/daemon.py \
76 --subst-var-by dvc "$out/bin/dcv"
84 propagatedBuildInputs = [
122 ++ lib.optionals enableGoogle passthru.optional-dependencies.gs
123 ++ lib.optionals enableAWS passthru.optional-dependencies.s3
124 ++ lib.optionals enableAzure passthru.optional-dependencies.azure
125 ++ lib.optionals enableSSH passthru.optional-dependencies.ssh
126 ++ lib.optionals (pythonOlder "3.8") [
128 ] ++ lib.optionals (pythonOlder "3.9") [
132 passthru.optional-dependencies = {
133 azure = [ dvc-azure ];
139 # Tests require access to real cloud services
142 pythonImportsCheck = [ "dvc" "dvc.api" ];
145 description = "Version Control System for Machine Learning Projects";
146 homepage = "https://dvc.org";
147 changelog = "https://github.com/iterative/dvc/releases/tag/${version}";
148 license = licenses.asl20;
149 maintainers = with maintainers; [ cmcdragonkai fab ];