1{ 2 lib, 3 buildPythonPackage, 4 dictdiffer, 5 diskcache, 6 dvc-objects, 7 fetchFromGitHub, 8 funcy, 9 pygtrie, 10 pythonOlder, 11 setuptools-scm, 12 shortuuid, 13 sqltrie, 14}: 15 16buildPythonPackage rec { 17 pname = "dvc-data"; 18 version = "3.15.1"; 19 pyproject = true; 20 21 disabled = pythonOlder "3.8"; 22 23 src = fetchFromGitHub { 24 owner = "iterative"; 25 repo = "dvc-data"; 26 rev = "refs/tags/${version}"; 27 hash = "sha256-pr5RtVlGKKtpcmmCNGqcLiBFzJcajpqtPjBbzeCCHF8="; 28 }; 29 30 nativeBuildInputs = [ setuptools-scm ]; 31 32 propagatedBuildInputs = [ 33 dictdiffer 34 diskcache 35 dvc-objects 36 funcy 37 pygtrie 38 shortuuid 39 sqltrie 40 ]; 41 42 # Tests depend on upath which is unmaintained and only available as wheel 43 doCheck = false; 44 45 pythonImportsCheck = [ "dvc_data" ]; 46 47 meta = with lib; { 48 description = "DVC's data management subsystem"; 49 mainProgram = "dvc-data"; 50 homepage = "https://github.com/iterative/dvc-data"; 51 changelog = "https://github.com/iterative/dvc-data/releases/tag/${version}"; 52 license = licenses.asl20; 53 maintainers = with maintainers; [ fab ]; 54 }; 55}