summary refs log tree commit diff
path: root/gnu/packages/astronomy.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2022-06-26 18:25:12 +0100
committerLudovic Courtès <ludo@gnu.org>2022-08-04 12:05:47 +0200
commit4ccd4176a2f63004fe10c9e8c9ccc8ba46b9d408 (patch)
tree650f86c2d5a2e19dfeb75b58345ab3b2fc14fd46 /gnu/packages/astronomy.scm
parent23cc276aaa34f54fd045befd4097517c21b1b943 (diff)
downloadguix-4ccd4176a2f63004fe10c9e8c9ccc8ba46b9d408.tar.gz
gnu: Add aocommon.
* gnu/packages/astronomy.scm (aocommon): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/astronomy.scm')
-rw-r--r--gnu/packages/astronomy.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index b721bd03ec..336ef02d66 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -69,6 +69,7 @@
   #:use-module (gnu packages xorg)
   #:use-module (gnu packages)
   #:use-module (guix build-system cmake)
+  #:use-module (guix build-system copy)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system python)
   #:use-module (guix download)
@@ -79,6 +80,33 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public aocommon
+  (let ((commit "7329a075271edab8f6264db649e81e62b2b6ae5e")
+        (revision "1"))
+    (package
+      (name "aocommon")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://gitlab.com/aroffringa/aocommon")
+               (commit commit)))
+         (sha256
+          (base32 "0qcfax6pbzs0yigy0x8xibrkk539wm2pbvjsb4lh50fybir02nix"))
+         (file-name (git-file-name name version))))
+      (build-system copy-build-system)
+      (arguments
+       (list #:install-plan
+             #~'(("include/aocommon" "include/aocommon"))))
+      (home-page "https://gitlab.com/aroffringa/aocommon")
+      (synopsis "Collection of functionality that is reused in astronomical applications")
+      (description
+       "This package provides source-only AOCommon collection of functionality that is
+reused in several astronomical applications, such as @code{wsclean},
+@code{aoflagger}, @code{DP3} and @code{everybeam}.")
+      (license license:gpl3+))))
+
 (define-public calceph
   (package
     (name "calceph")