Files
nixpkgs/pkgs/development/python-modules/gwcs/default.nix
T
2026-01-26 12:36:30 -08:00

56 lines
1.0 KiB
Nix

{
lib,
asdf-astropy,
asdf-wcs-schemas,
asdf,
astropy,
buildPythonPackage,
fetchFromGitHub,
numpy,
pytestCheckHook,
scipy,
setuptools-scm,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "gwcs";
version = "1.0.1";
pyproject = true;
src = fetchFromGitHub {
owner = "spacetelescope";
repo = "gwcs";
tag = finalAttrs.version;
hash = "sha256-0iUnapBn8yDCx1tqHD10Ljid15yBuqlICyFuva2LNPk=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
asdf
asdf-astropy
asdf-wcs-schemas
astropy
numpy
scipy
];
nativeCheckInputs = [
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 ];
};
})