nixpkgs/pkgs/development/python-modules/dvc-studio-client/default.nix

44 lines
899 B
Nix

{
lib,
buildPythonPackage,
dulwich,
fetchFromGitHub,
gitpython,
requests,
setuptools-scm,
voluptuous,
}:
buildPythonPackage rec {
pname = "dvc-studio-client";
version = "0.23.0";
pyproject = true;
src = fetchFromGitHub {
owner = "iterative";
repo = "dvc-studio-client";
tag = version;
hash = "sha256-Zc6DQ/memnEwxHkSMPi1/fLBgvinqaMpWSOBfAI4sUk=";
};
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;
};
}