Diff: https://github.com/astropy/asdf-astropy/compare/refs/tags/0.7.1...refs/tags/0.8.0 Changelog: https://github.com/astropy/asdf-astropy/blob/0.8.0/CHANGES.rst
69 lines
1.2 KiB
Nix
69 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
asdf-coordinates-schemas,
|
|
asdf-standard,
|
|
asdf-transform-schemas,
|
|
asdf,
|
|
astropy,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
numpy,
|
|
packaging,
|
|
pytest-astropy,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
scipy,
|
|
setuptools-scm,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "asdf-astropy";
|
|
version = "0.8.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.10";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "astropy";
|
|
repo = "asdf-astropy";
|
|
tag = version;
|
|
hash = "sha256-CCLoG3zV34kmdGYN6RLi5u2v0RDvEqVN6VcdrX7L4uY=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools
|
|
setuptools-scm
|
|
];
|
|
|
|
dependencies = [
|
|
asdf
|
|
asdf-coordinates-schemas
|
|
asdf-standard
|
|
asdf-transform-schemas
|
|
astropy
|
|
numpy
|
|
packaging
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytest-astropy
|
|
pytestCheckHook
|
|
scipy
|
|
];
|
|
|
|
pythonImportsCheck = [ "asdf_astropy" ];
|
|
|
|
preCheck = ''
|
|
export HOME=$(mktemp -d)
|
|
'';
|
|
|
|
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 ];
|
|
};
|
|
}
|