summaryrefslogtreecommitdiff
path: root/gnu/packages/python-science.scm
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@friendly-machines.com>2025-12-22 15:28:42 +0100
committerDanny Milosavljevic <dannym@friendly-machines.com>2026-02-12 18:58:10 +0100
commitdaaae8ed29282184a0c3164ec8fbe6533c4741d6 (patch)
treedcf7982bd415ceeacd14f497dec74b54fe7994f3 /gnu/packages/python-science.scm
parentde73c0c7f33cb136793e98a73071469343556baa (diff)
gnu: Add python-seekpath.
* gnu/packages/python-science.scm (python-seekpath): New variable. Change-Id: I8892e74d89112d8927c0a1d223962b9e86742f8b
Diffstat (limited to 'gnu/packages/python-science.scm')
-rw-r--r--gnu/packages/python-science.scm35
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 3b5095f4de3..b6858c4f2dc 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -6603,6 +6603,41 @@ in C. This package provides Python bindings for spglib, allowing Python
6603programs to find symmetry operations, identify space groups, and perform 6603programs to find symmetry operations, identify space groups, and perform
6604other symmetry-related operations on crystal structures.") 6604other symmetry-related operations on crystal structures.")
6605 (license license:bsd-3))) 6605 (license license:bsd-3)))
6606
6607(define-public python-seekpath
6608 (package
6609 (name "python-seekpath")
6610 (version "2.1.0")
6611 (source
6612 (origin
6613 (method url-fetch)
6614 (uri (pypi-uri "seekpath" version))
6615 (sha256
6616 (base32 "1i2jhjc4ikd31v8wkxzfrvhwlv0dlzpkysf3lkafcql2c9wwbkii"))))
6617 (build-system pyproject-build-system)
6618 (arguments
6619 (list
6620 #:phases
6621 #~(modify-phases %standard-phases
6622 (replace 'check
6623 (lambda* (#:key tests? #:allow-other-keys)
6624 (when tests?
6625 (invoke "pytest" "-vv" "tests")))))))
6626 (propagated-inputs
6627 (list python-numpy
6628 python-scipy
6629 python-spglib))
6630 (native-inputs
6631 (list python-pytest
6632 python-setuptools))
6633 (home-page "https://github.com/giovannipizzi/seekpath")
6634 (synopsis "K-path finder for band structure calculations")
6635 (description
6636 "SeeK-path is a Python module to obtain band paths in the Brillouin zone
6637of crystal structures. It automatically detects Bravais lattice types and
6638generates k-point labels and band paths following crystallographic
6639conventions.")
6640 (license license:expat)))
6606;;; 6641;;;
6607;;; Avoid adding new packages to the end of this file. To reduce the chances 6642;;; Avoid adding new packages to the end of this file. To reduce the chances
6608;;; of a merge conflict, place them above by existing packages with similar 6643;;; of a merge conflict, place them above by existing packages with similar