Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 53 lines 1.1 kB view raw
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 setuptools-scm, 12 setuptools, 13}: 14 15buildPythonPackage rec { 16 pname = "asdf-wcs-schemas"; 17 version = "0.5.0"; 18 pyproject = true; 19 20 src = fetchFromGitHub { 21 owner = "asdf-format"; 22 repo = "asdf-wcs-schemas"; 23 tag = version; 24 hash = "sha256-S9SAQzy+FQ2idNDydYnexb3QJfd6vG/JKYg5z0tjkNo="; 25 }; 26 27 build-system = [ 28 setuptools 29 setuptools-scm 30 ]; 31 32 dependencies = [ 33 asdf-coordinates-schemas 34 asdf-standard 35 asdf-transform-schemas 36 ]; 37 38 nativeCheckInputs = [ 39 asdf 40 asdf-astropy 41 pytestCheckHook 42 ]; 43 44 pythonImportsCheck = [ "asdf_wcs_schemas" ]; 45 46 meta = { 47 description = "World Coordinate System (WCS) ASDF schemas"; 48 homepage = "https://github.com/asdf-format/asdf-wcs-schemas"; 49 changelog = "https://github.com/asdf-format/asdf-wcs-schemas/blob/${src.tag}/CHANGES.rst"; 50 license = lib.licenses.bsd3; 51 maintainers = with lib.maintainers; [ fab ]; 52 }; 53}