1{
2 lib,
3 asdf-standard,
4 asdf,
5 buildPythonPackage,
6 fetchFromGitHub,
7 pythonOlder,
8 setuptools-scm,
9 setuptools,
10}:
11
12buildPythonPackage rec {
13 pname = "asdf-coordinates-schemas";
14 version = "0.4.0";
15 pyproject = true;
16
17 disabled = pythonOlder "3.10";
18
19 src = fetchFromGitHub {
20 owner = "asdf-format";
21 repo = "asdf-coordinates-schemas";
22 tag = version;
23 hash = "sha256-ZE86W93PzKWdLrI+LNvxzrwMjOTy1fBV2AVJAaFWDMo=";
24 };
25
26 build-system = [
27 setuptools
28 setuptools-scm
29 ];
30
31 dependencies = [
32 asdf
33 asdf-standard
34 ];
35
36 # Circular dependency with asdf-astropy
37 doCheck = false;
38
39 pythonImportsCheck = [ "asdf_coordinates_schemas" ];
40
41 meta = with lib; {
42 description = "ASDF schemas for coordinates";
43 homepage = "https://github.com/asdf-format/asdf-coordinates-schemas";
44 changelog = "https://github.com/asdf-format/asdf-coordinates-schemas/blob/${version}/CHANGES.rst";
45 license = licenses.bsd3;
46 maintainers = with maintainers; [ fab ];
47 };
48}