[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#59113] [PATCH 3/9] gnu: Add asdf-fits-schemas
From: |
Sharlatan Hellseher |
Subject: |
[bug#59113] [PATCH 3/9] gnu: Add asdf-fits-schemas |
Date: |
Mon, 7 Nov 2022 23:06:50 +0000 |
* gnu/packages/astronomy.scm (python-asdf-fits-schemas): New variable.
---
gnu/packages/astronomy.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 56eb9143b1..b07bef73b8 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2052,6 +2052,40 @@ (define python-asdf-coordinates-schemas
install an implementation package such as asdf-astropy.")
(license license:bsd-3)))
+(define python-asdf-fits-schemas
+ ;; TODO: No release, change to tag when it's ready.
+ (let ((commit "572bb370d777f3a325b25c1af9d76e1b7d27dcea")
+ (revision "0"))
+ (package
+ (name "python-asdf-fits-schemas")
+ (version (git-version "0.0.1" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/asdf-format/asdf-fits-schemas")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1yqnzd0gcrdfl0jqm8m8kz5fd36i8lgh7xkglmp1chsi1cc6mkz2"))))
+ (build-system pyproject-build-system)
+ (arguments
+ ;; Dependencies cycle with python-asdf
+ (list
+ #:tests? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'build 'set-version
+ (lambda _
+ (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" "0.0.1"))))))
+ (native-inputs (list python-setuptools-scm))
+ (propagated-inputs (list python-asdf-standard
python-importlib-resources))
+ (home-page "https://github.com/asdf-format/asdf-fits-schemas")
+ (synopsis "ASDF schemas to support the FITS format")
+ (description "This package provides ASDF schemas for validating FITS
tags.")
+ (license license:bsd-3))))
+
(define python-asdf-unit-schemas
(package
(name "python-asdf-unit-schemas")
--
2.38.0
- [bug#59113] [PATCH 0/9] gnu: gwcs: Fix build, update to 0.18.12, Sharlatan Hellseher, 2022/11/07
- [bug#59113] [PATCH 1/9] gnu: Add asdf-standard, Sharlatan Hellseher, 2022/11/07
- [bug#59113] [PATCH 2/9] gnu: Add asdf-unit-schemas, Sharlatan Hellseher, 2022/11/07
- [bug#59113] [PATCH 4/9] gnu: Add asdf-time-schemas, Sharlatan Hellseher, 2022/11/07
- [bug#59113] [PATCH 6/9] gnu: python-asdf: Update to 2.13.0, Sharlatan Hellseher, 2022/11/07
- [bug#59113] [PATCH 7/9] gnu: python-asdf: Sync test disable comment, Sharlatan Hellseher, 2022/11/07
- [bug#59113] [PATCH 3/9] gnu: Add asdf-fits-schemas,
Sharlatan Hellseher <=
- [bug#59113] [PATCH 5/9] gnu: asdf-transform-schemas: Update to 0.3.0, Sharlatan Hellseher, 2022/11/07
- [bug#59113] [PATCH 8/9] gnu: asdf-astropy: Update to 0.2.2, Sharlatan Hellseher, 2022/11/07
- [bug#59113] [PATCH 9/9] gnu: gwcs: Fix build, update to 0.18.2, Sharlatan Hellseher, 2022/11/07
- [bug#59113], Sharlatan Hellseher, 2022/11/18