4f3a63a527
Diff: https://github.com/astropy/asdf-astropy/compare/0.8.0...0.9.0 Changelog: https://github.com/astropy/asdf-astropy/blob/0.9.0/CHANGES.rst
66 lines
1.2 KiB
Nix
66 lines
1.2 KiB
Nix
{
|
|
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 = with lib; {
|
|
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 = licenses.bsd3;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|