1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
{
lib,
asdf-coordinates-schemas,
asdf-standard,
asdf-transform-schemas,
asdf,
astropy,
buildPythonPackage,
fetchFromGitHub,
numpy,
packaging,
pytest-astropy-header,
pytest-doctestplus,
pytestCheckHook,
scipy,
setuptools-scm,
setuptools,
writableTmpDirAsHomeHook,
}:
buildPythonPackage rec {
pname = "asdf-astropy";
version = "0.9.0";
pyproject = true;
src = fetchFromGitHub {
owner = "astropy";
repo = "asdf-astropy";
tag = version;
hash = "sha256-JYzC1dEnq1caNSPffWCgk7c3mgUERywP0ladS+RwEnk=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
asdf
asdf-coordinates-schemas
asdf-standard
asdf-transform-schemas
astropy
numpy
packaging
];
nativeCheckInputs = [
pytest-astropy-header
pytest-doctestplus
pytestCheckHook
scipy
writableTmpDirAsHomeHook
];
pythonImportsCheck = [ "asdf_astropy" ];
meta = {
description = "Extension library for ASDF to provide support for Astropy";
homepage = "https://github.com/astropy/asdf-astropy";
changelog = "https://github.com/astropy/asdf-astropy/blob/${src.tag}/CHANGES.rst";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fab ];
};
}
|