Commit b02b3a72 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python312Packages.asdf-wcs-schemas: init at 0.4.0

World Coordinate System (WCS) ASDF schemas

https://github.com/asdf-format/asdf-wcs-schemas
parent 702d2ad6
Loading
Loading
Loading
Loading
+56 −0
Original line number Diff line number Diff line
{
  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.4.0";
  pyproject = true;

  disabled = pythonOlder "3.10";

  src = fetchFromGitHub {
    owner = "asdf-format";
    repo = "asdf-wcs-schemas";
    rev = "refs/tags/${version}";
    hash = "sha256-4CxKLMYXdNkNwkfFRX3YKkS4e+Z3wQgmz8ogbC4Z1vI=";
  };

  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/${version}/CHANGES.rst";
    license = licenses.bsd3;
    maintainers = with maintainers; [ fab ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -795,6 +795,8 @@ self: super: with self; {
  asdf-transform-schemas = callPackage ../development/python-modules/asdf-transform-schemas { };
  asdf-wcs-schemas = callPackage ../development/python-modules/asdf-wcs-schemas { };
  ase = callPackage ../development/python-modules/ase { };
  asf-search = callPackage ../development/python-modules/asf-search { };