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