1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonOlder, 6 poetry-core, 7 dacite, 8 diskcache, 9 jsonschema, 10 pandas, 11 pyarrow, 12}: 13 14buildPythonPackage rec { 15 pname = "datashaper"; 16 version = "0.0.49"; 17 pyproject = true; 18 19 disabled = pythonOlder "3.10"; 20 21 src = fetchPypi { 22 inherit pname version; 23 hash = "sha256-Bb+6WWRHSmK91SWew/oBc9AeNlIItqSv9OoOYwlqdTM="; 24 }; 25 26 build-system = [ poetry-core ]; 27 28 pythonRelaxDeps = [ "pyarrow" ]; 29 30 dependencies = [ 31 dacite 32 diskcache 33 jsonschema 34 pandas 35 pyarrow 36 ]; 37 38 pythonImportsCheck = [ "datashaper" ]; 39 40 # pypi tarball has no tests 41 doCheck = false; 42 43 meta = { 44 description = "Collection of utilities for doing lightweight data wrangling"; 45 homepage = "https://github.com/microsoft/datashaper/tree/main/python/datashaper"; 46 license = lib.licenses.mit; 47 maintainers = with lib.maintainers; [ natsukium ]; 48 }; 49}