Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

57 lines
1.1 KiB
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
asdf-astropy,
asdf-coordinates-schemas,
asdf-standard,
asdf-transform-schemas,
asdf,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
setuptools-scm,
setuptools,
}:
buildPythonPackage rec {
pname = "asdf-wcs-schemas";
version = "0.5.0";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "asdf-format";
repo = "asdf-wcs-schemas";
tag = version;
hash = "sha256-S9SAQzy+FQ2idNDydYnexb3QJfd6vG/JKYg5z0tjkNo=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
asdf-coordinates-schemas
asdf-standard
asdf-transform-schemas
];
nativeCheckInputs = [
asdf
asdf-astropy
pytestCheckHook
];
pythonImportsCheck = [ "asdf_wcs_schemas" ];
meta = with lib; {
description = "World Coordinate System (WCS) ASDF schemas";
homepage = "https://github.com/asdf-format/asdf-wcs-schemas";
changelog = "https://github.com/asdf-format/asdf-wcs-schemas/blob/${src.tag}/CHANGES.rst";
license = licenses.bsd3;
maintainers = with maintainers; [ fab ];
};
}