summaryrefslogtreecommitdiff
path: root/gnu/packages/physics.scm
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@friendly-machines.com>2026-02-13 11:06:01 +0000
committerDanny Milosavljevic <dannym@friendly-machines.com>2026-02-21 21:52:39 +0100
commit8154e1d07b61245f59edf101f7c25a8307e63c98 (patch)
treecbace50ef8637196a0a7c68e205aa2aef4045aa7 /gnu/packages/physics.scm
parent2e7ae98c245ddb9fd2181260a4be7c47116bdc77 (diff)
gnu: python-pycifrw: Move to (gnu packages physics).
* gnu/packages/python-science.scm (python-pycifrw): Move from here… * gnu/packages/physics.scm (python-pycifrw): …to here. Change-Id: I5b0f5ccb148b555d898a4584da9eb6897ad3126e
Diffstat (limited to 'gnu/packages/physics.scm')
-rw-r--r--gnu/packages/physics.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/physics.scm b/gnu/packages/physics.scm
index 4847e430956..8f5e7f7b3dd 100644
--- a/gnu/packages/physics.scm
+++ b/gnu/packages/physics.scm
@@ -117,3 +117,30 @@ within an irreducible part of the first Brillouin zone. It provides Python
bindings via pybind11 for use in phonon calculations and inelastic neutron
scattering simulations.")
(license license:agpl3+)))
+
+(define-public python-pycifrw
+ (package
+ (name "python-pycifrw")
+ (version "4.4.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "PyCifRW" version))
+ (sha256
+ (base32 "05ggj4l9cir02m593azhl03wfjimx3rvwbznpx01bdqawxsmkgq2"))))
+ (build-system pyproject-build-system)
+ (arguments
+ ;; Tests are not included in the PyPI tarball.
+ (list #:tests? #f))
+ (propagated-inputs
+ (list python-numpy python-ply))
+ (native-inputs
+ (list python-setuptools)) ; build-backend = setuptools.build_meta
+ (home-page "https://github.com/jamesrhester/pycifrw")
+ (synopsis "CIF file reader and writer")
+ (description
+ "PyCifRW provides support for reading and writing CIF (Crystallographic
+Information File) format files. CIF is the standard format for
+crystallographic data exchange endorsed by the International Union of
+Crystallography.")
+ (license license:psfl)))