[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
240/244: gnu: Add phd2.
From: |
guix-commits |
Subject: |
240/244: gnu: Add phd2. |
Date: |
Wed, 12 Apr 2023 08:49:39 -0400 (EDT) |
apteryx pushed a commit to branch staging
in repository guix.
commit 0feae6b0ef10818080287d9d34b726b1ab653d57
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Mon Mar 27 09:46:49 2023 +0100
gnu: Add phd2.
* gnu/packages/astronomy.scm (phd2): New variable.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
---
gnu/packages/astronomy.scm | 66 +++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 65 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 1c2b78a68e..db290f5987 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -5,7 +5,7 @@
;;; Copyright © 2019 by Amar Singh <nly@disroot.org>
;;; Copyright © 2020 R Veera Kumar <vkor@vkten.in>
;;; Copyright © 2020, 2021 Guillaume Le Vaillant <glv@posteo.net>
-;;; Copyright © 2021, 2022 Sharlatan Hellseher <sharlatanus@gmail.com>
+;;; Copyright © 2021, 2022, 2023 Sharlatan Hellseher <sharlatanus@gmail.com>
;;; Copyright © 2021, 2022 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2021 Greg Hogan <code@greghogan.com>
;;; Copyright © 2021 Foo Chuan Wei <chuanwei.foo@hotmail.com>
@@ -678,6 +678,70 @@ astronomical image-processing packages like Drizzle, Swarp
or SExtractor.")
programs for the manipulation and analysis of astronomical data.")
(license license:gpl3+)))
+(define-public phd2
+ (package
+ (name "phd2")
+ (version "2.6.11")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/OpenPHDGuiding/phd2")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0n87xsv9gzrwk1ygws4vw397ffq40xybp5b3c3bd5kcmff0avaw9"))
+ (modules '((guix build utils)
+ (ice-9 ftw)
+ (srfi srfi-26)))
+ (snippet
+ #~(begin
+ ;; XXX: 'delete-all-but' is copied from the turbovnc package.
+ (define (delete-all-but directory . preserve)
+ (define (directory? x)
+ (and=> (stat x #f)
+ (compose (cut eq? 'directory <>) stat:type)))
+ (with-directory-excursion directory
+ (let* ((pred
+ (negate (cut member <> (append '("." "..") preserve))))
+ (items (scandir "." pred)))
+ (for-each (lambda (item)
+ (if (directory? item)
+ (delete-file-recursively item)
+ (delete-file item)))
+ items))))
+ (delete-all-but "thirdparty" "thirdparty.cmake")))))
+ (build-system cmake-build-system)
+ (arguments
+ (list #:configure-flags #~(list "-DOPENSOURCE_ONLY=yes"
+ "-DUSE_SYSTEM_CFITSIO=yes"
+ "-DUSE_SYSTEM_EIGEN3=yes"
+ "-DUSE_SYSTEM_GTEST=yes"
+ "-DUSE_SYSTEM_LIBINDI=yes"
+ "-DUSE_SYSTEM_LIBUSB=yes")))
+ (native-inputs
+ (list gettext-minimal
+ googletest
+ perl
+ pkg-config
+ python))
+ (inputs
+ (list cfitsio
+ curl
+ eigen
+ gtk+
+ indi
+ libnova
+ libusb
+ wxwidgets
+ zlib))
+ (home-page "https://openphdguiding.org")
+ (synopsis "Teleskope guiding software")
+ (description
+ "PHD2 is the enhanced, second generation version of the PHD guiding
software
+from Stark Labs.")
+ (license license:bsd-3)))
+
(define-public sextractor
(package
(name "sextractor")
- 241/244: services: nginx: Make logging level configurable., (continued)
- 241/244: services: nginx: Make logging level configurable., guix-commits, 2023/04/12
- 228/244: gnu: qpdf: Fix cross-building., guix-commits, 2023/04/12
- 234/244: gnu: opendht: Update to 2.5.2., guix-commits, 2023/04/12
- 173/244: gnu: Add emacs-flymake-popon., guix-commits, 2023/04/12
- 196/244: gnu: xfce4-panel: Update to 4.18.3., guix-commits, 2023/04/12
- 186/244: gnu: fcitx5: Update to 5.0.23., guix-commits, 2023/04/12
- 221/244: gnu: s6-rc: Update to 0.5.4.1., guix-commits, 2023/04/12
- 183/244: gnu: gerbil: Use G-expressions., guix-commits, 2023/04/12
- 187/244: gnu: libime: Update to 1.0.17., guix-commits, 2023/04/12
- 239/244: gnu: heimdal: Enable OpenLDAP support., guix-commits, 2023/04/12
- 240/244: gnu: Add phd2.,
guix-commits <=
- 243/244: gnu: icecat: Update to 102.10.0-guix0-preview1 [security fixes]., guix-commits, 2023/04/12
- 242/244: services: nginx: Add reopen action., guix-commits, 2023/04/12
- 176/244: import: Properly report "no specific version" errors., guix-commits, 2023/04/12