Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162{ lib, asdf-astropy, asdf-wcs-schemas, asdf, astropy, buildPythonPackage, fetchFromGitHub, numpy, pytest-doctestplus, pytestCheckHook, scipy, setuptools-scm, setuptools,}:
buildPythonPackage (finalAttrs: { pname = "gwcs"; version = "1.0.3"; pyproject = true;
src = fetchFromGitHub { owner = "spacetelescope"; repo = "gwcs"; tag = finalAttrs.version; hash = "sha256-Wh+3xVjXjTSlmlZuia2Jclj6tzjqlYDQ+giocGEkyAE="; };
postPatch = '' sed -i "/--doctest-rst/d" pyproject.toml '';
build-system = [ setuptools setuptools-scm ];
dependencies = [ asdf asdf-astropy asdf-wcs-schemas astropy numpy scipy ];
nativeCheckInputs = [ pytest-doctestplus pytestCheckHook ];
pythonImportsCheck = [ "gwcs" ];
meta = { description = "Module to manage the Generalized World Coordinate System"; homepage = "https://github.com/spacetelescope/gwcs"; changelog = "https://github.com/spacetelescope/gwcs/blob/${finalAttrs.src.tag}/CHANGES.rst"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ fab ]; };})