4ec7ce7142
Diff: https://github.com/asdf-format/asdf-coordinates-schemas/compare/refs/tags/0.3.0...refs/tags/0.4.0 Changelog: https://github.com/asdf-format/asdf-coordinates-schemas/blob/0.4.0/CHANGES.rst
49 lines
1006 B
Nix
49 lines
1006 B
Nix
{
|
|
lib,
|
|
asdf-standard,
|
|
asdf,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pythonOlder,
|
|
setuptools-scm,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "asdf-coordinates-schemas";
|
|
version = "0.4.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.10";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "asdf-format";
|
|
repo = "asdf-coordinates-schemas";
|
|
tag = version;
|
|
hash = "sha256-ZE86W93PzKWdLrI+LNvxzrwMjOTy1fBV2AVJAaFWDMo=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools
|
|
setuptools-scm
|
|
];
|
|
|
|
dependencies = [
|
|
asdf
|
|
asdf-standard
|
|
];
|
|
|
|
# Circular dependency with asdf-astropy
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "asdf_coordinates_schemas" ];
|
|
|
|
meta = with lib; {
|
|
description = "ASDF schemas for coordinates";
|
|
homepage = "https://github.com/asdf-format/asdf-coordinates-schemas";
|
|
changelog = "https://github.com/asdf-format/asdf-coordinates-schemas/blob/${version}/CHANGES.rst";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|