1{ 2 lib, 3 asdf-astropy, 4 asdf-coordinates-schemas, 5 asdf-standard, 6 asdf-transform-schemas, 7 asdf, 8 buildPythonPackage, 9 fetchFromGitHub, 10 pytestCheckHook, 11 pythonOlder, 12 setuptools-scm, 13 setuptools, 14}: 15 16buildPythonPackage rec { 17 pname = "asdf-wcs-schemas"; 18 version = "0.5.0"; 19 pyproject = true; 20 21 disabled = pythonOlder "3.10"; 22 23 src = fetchFromGitHub { 24 owner = "asdf-format"; 25 repo = "asdf-wcs-schemas"; 26 tag = version; 27 hash = "sha256-S9SAQzy+FQ2idNDydYnexb3QJfd6vG/JKYg5z0tjkNo="; 28 }; 29 30 build-system = [ 31 setuptools 32 setuptools-scm 33 ]; 34 35 dependencies = [ 36 asdf-coordinates-schemas 37 asdf-standard 38 asdf-transform-schemas 39 ]; 40 41 nativeCheckInputs = [ 42 asdf 43 asdf-astropy 44 pytestCheckHook 45 ]; 46 47 pythonImportsCheck = [ "asdf_wcs_schemas" ]; 48 49 meta = with lib; { 50 description = "World Coordinate System (WCS) ASDF schemas"; 51 homepage = "https://github.com/asdf-format/asdf-wcs-schemas"; 52 changelog = "https://github.com/asdf-format/asdf-wcs-schemas/blob/${src.tag}/CHANGES.rst"; 53 license = licenses.bsd3; 54 maintainers = with maintainers; [ fab ]; 55 }; 56}