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.20.0"; 16 format = "pyproject"; 17 18 disabled = pythonOlder "3.8"; 19 20 src = fetchFromGitHub { 21 owner = "iterative"; 22 repo = pname; 23 rev = "refs/tags/${version}"; 24 hash = "sha256-JLrsbgifoUnN1Mwml9tO3/SkA6miE14AGjxrFwEcRks="; 25 }; 26 27 nativeBuildInputs = [ setuptools-scm ]; 28 29 propagatedBuildInputs = [ 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/${version}"; 45 license = licenses.asl20; 46 maintainers = with maintainers; [ melling ]; 47 }; 48}