at master 1.3 kB view raw
1{ 2 lib, 3 aiohttp, 4 asdf-standard, 5 asdf-transform-schemas, 6 attrs, 7 buildPythonPackage, 8 fetchFromGitHub, 9 fsspec, 10 importlib-metadata, 11 jmespath, 12 lz4, 13 numpy, 14 packaging, 15 psutil, 16 pytest-remotedata, 17 pytestCheckHook, 18 pythonOlder, 19 pyyaml, 20 requests, 21 semantic-version, 22 setuptools, 23 setuptools-scm, 24}: 25 26buildPythonPackage rec { 27 pname = "asdf"; 28 version = "4.3.0"; 29 pyproject = true; 30 31 disabled = pythonOlder "3.9"; 32 33 src = fetchFromGitHub { 34 owner = "asdf-format"; 35 repo = "asdf"; 36 tag = version; 37 hash = "sha256-sCjDZ/6KiFH9LbdDpco8z1xRgJe0dm0HVhpRbO51RDI="; 38 }; 39 40 build-system = [ 41 setuptools 42 setuptools-scm 43 ]; 44 45 dependencies = [ 46 asdf-standard 47 asdf-transform-schemas 48 importlib-metadata 49 jmespath 50 numpy 51 packaging 52 pyyaml 53 semantic-version 54 attrs 55 ]; 56 57 nativeCheckInputs = [ 58 aiohttp 59 fsspec 60 lz4 61 psutil 62 pytest-remotedata 63 pytestCheckHook 64 requests 65 ]; 66 67 disabledTests = [ 68 # AssertionError: assert 527033 >= 1048801 69 "test_update_add_array_at_end" 70 ]; 71 72 pythonImportsCheck = [ "asdf" ]; 73 74 meta = with lib; { 75 description = "Python tools to handle ASDF files"; 76 homepage = "https://github.com/asdf-format/asdf"; 77 license = licenses.bsd3; 78 maintainers = [ ]; 79 }; 80}