1{ 2 lib, 3 buildPythonPackage, 4 dulwich, 5 fetchFromGitHub, 6 gitpython, 7 pythonOlder, 8 requests, 9 setuptools-scm, 10 voluptuous, 11}: 12 13buildPythonPackage rec { 14 pname = "dvc-studio-client"; 15 version = "0.22.0"; 16 pyproject = true; 17 18 disabled = pythonOlder "3.9"; 19 20 src = fetchFromGitHub { 21 owner = "iterative"; 22 repo = "dvc-studio-client"; 23 tag = version; 24 hash = "sha256-pMjLbtsUD0fj4OcJI8FufQRYe7HJ0S8z1jYK0Ri7uWA="; 25 }; 26 27 build-system = [ setuptools-scm ]; 28 29 dependencies = [ 30 dulwich 31 gitpython 32 requests 33 voluptuous 34 ]; 35 36 pythonImportsCheck = [ "dvc_studio_client" ]; 37 38 # Tests try to access network 39 doCheck = false; 40 41 meta = with lib; { 42 description = "Library to post data from DVC/DVCLive to Iterative Studio"; 43 homepage = "https://github.com/iterative/dvc-studio-client"; 44 changelog = "https://github.com/iterative/dvc-studio-client/releases/tag/${src.tag}"; 45 license = licenses.asl20; 46 maintainers = with maintainers; [ melling ]; 47 }; 48}