gnu: Add python-ci-watson.

* gnu/packages/astronomy.scm (python-ci-watson): New variable.

Change-Id: I0590bdd7c3847d9b5cc80de94e40149c475bd46a
This commit is contained in:
Sharlatan Hellseher 2024-09-19 15:15:18 +01:00
parent d799c6fee0
commit 49a013a0ed
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -2809,6 +2809,39 @@ (define-public python-cdflib
@end itemize")
(license license:expat)))
(define-public python-ci-watson
(package
(name "python-ci-watson")
(version "0.7.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "ci_watson" version))
(sha256
(base32 "1qb5iyb053k1711ic93rcm0z344dc6h8vg8fpkbqpg5z6q0v2b0y"))))
(build-system pyproject-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch-pypojrect-toml
(lambda _
(substitute* "setup.cfg"
;; ImportError: Error importing plugin " no:legacypath": No
;; module named ' no:legacypath'
(("-p no:legacypath") "")))))))
(propagated-inputs
(list python-crds
python-pytest
python-requests))
(native-inputs
(list python-pytest-astropy-header))
(home-page "https://github.com/spacetelescope/ci_watson")
(synopsis "Helper functions for STScI software")
(description
"This package contains a helper functionality to test ROMAN and JWST.")
(license license:bsd-3)))
(define-public python-cmyt
(package
(name "python-cmyt")