diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-08-11 23:15:09 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-09-01 18:34:23 +0100 |
| commit | e28cc58fba65b195baba5ef444b19c6a8812e754 (patch) | |
| tree | 6ab1b67603c9b3407be6e755666f294ab5af56c1 /gnu | |
| parent | 4088fc3e28f033c3098741f2ddd7e0d68dcecd84 (diff) | |
gnu: Add python-pyindi-client.
* gnu/packages/astronomy.scm (python-pyindi-client): New variable.
Relates-to: guix/guix!10702
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/astronomy.scm | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index ea8ef937a11..da6cda7652b 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm | |||
| @@ -126,6 +126,7 @@ | |||
| 126 | #:use-module (gnu packages sphinx) | 126 | #:use-module (gnu packages sphinx) |
| 127 | #:use-module (gnu packages sqlite) | 127 | #:use-module (gnu packages sqlite) |
| 128 | #:use-module (gnu packages statistics) | 128 | #:use-module (gnu packages statistics) |
| 129 | #:use-module (gnu packages swig) | ||
| 129 | #:use-module (gnu packages textutils) | 130 | #:use-module (gnu packages textutils) |
| 130 | #:use-module (gnu packages time) | 131 | #:use-module (gnu packages time) |
| 131 | #:use-module (gnu packages tls) | 132 | #:use-module (gnu packages tls) |
| @@ -8856,6 +8857,54 @@ interactive Python session, and thus allows for using HDRL algorithms in | |||
| 8856 | recipes implemented in Python as part of an instrument pipeline package.") | 8857 | recipes implemented in Python as part of an instrument pipeline package.") |
| 8857 | (license license:gpl3+))) | 8858 | (license license:gpl3+))) |
| 8858 | 8859 | ||
| 8860 | (define-public python-pyindi-client | ||
| 8861 | (package | ||
| 8862 | (name "python-pyindi-client") | ||
| 8863 | (version "2.2.0") | ||
| 8864 | (source | ||
| 8865 | (origin | ||
| 8866 | (method url-fetch) | ||
| 8867 | (uri (pypi-uri "pyindi_client" version)) | ||
| 8868 | (sha256 | ||
| 8869 | (base32 "06jpgxxnh4c2s1jnqlpbxrjsqsaknqpxiq7c1cwalxr1qpf4w8ig")))) | ||
| 8870 | (build-system pyproject-build-system) | ||
| 8871 | (arguments | ||
| 8872 | (list | ||
| 8873 | #:phases | ||
| 8874 | #~(modify-phases %standard-phases | ||
| 8875 | (add-after 'unpack 'fix-include-path | ||
| 8876 | (lambda* (#:key inputs #:allow-other-keys) | ||
| 8877 | (substitute* (list "setup.py" "setup.cfg") | ||
| 8878 | (("/usr/include/libindi") | ||
| 8879 | (search-input-directory inputs "include/libindi"))))) | ||
| 8880 | (add-before 'check 'pre-check | ||
| 8881 | (lambda _ | ||
| 8882 | (system (string-append "indiserver" | ||
| 8883 | " indi_simulator_ccd" | ||
| 8884 | " indi_simulator_focus" | ||
| 8885 | " indi_simulator_gps" | ||
| 8886 | " indi_simulator_guide" | ||
| 8887 | " indi_simulator_wheel" | ||
| 8888 | " indi_simulator_telescope &"))))))) | ||
| 8889 | (native-inputs | ||
| 8890 | (list python-pytest | ||
| 8891 | python-setuptools | ||
| 8892 | swig)) | ||
| 8893 | (inputs | ||
| 8894 | (list cfitsio | ||
| 8895 | indi | ||
| 8896 | libnova)) | ||
| 8897 | (propagated-inputs | ||
| 8898 | (list python-bottle | ||
| 8899 | python-dbus | ||
| 8900 | python-requests)) | ||
| 8901 | (home-page "https://github.com/indilib/pyindi-client") | ||
| 8902 | (synopsis "Third party Python API for INDI client") | ||
| 8903 | (description | ||
| 8904 | "This package provides an INDI Client Python API, auto-generated from the | ||
| 8905 | official C++ API using SWIG.") | ||
| 8906 | (license license:gpl3+))) | ||
| 8907 | |||
| 8859 | (define-public python-pyirf | 8908 | (define-public python-pyirf |
| 8860 | (package | 8909 | (package |
| 8861 | (name "python-pyirf") | 8910 | (name "python-pyirf") |
