Files
nixpkgs/pkgs/development/python-modules/dvc-studio-client/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

49 lines
1000 B
Nix

{
lib,
buildPythonPackage,
dulwich,
fetchFromGitHub,
gitpython,
pythonOlder,
requests,
setuptools-scm,
voluptuous,
}:
buildPythonPackage rec {
pname = "dvc-studio-client";
version = "0.22.0";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "iterative";
repo = "dvc-studio-client";
tag = version;
hash = "sha256-pMjLbtsUD0fj4OcJI8FufQRYe7HJ0S8z1jYK0Ri7uWA=";
};
build-system = [ setuptools-scm ];
dependencies = [
dulwich
gitpython
requests
voluptuous
];
pythonImportsCheck = [ "dvc_studio_client" ];
# Tests try to access network
doCheck = false;
meta = {
description = "Library to post data from DVC/DVCLive to Iterative Studio";
homepage = "https://github.com/iterative/dvc-studio-client";
changelog = "https://github.com/iterative/dvc-studio-client/releases/tag/${src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ melling ];
};
}