[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/07: gnu: Add sugar-help-activity.
From: |
guix-commits |
Subject: |
07/07: gnu: Add sugar-help-activity. |
Date: |
Mon, 27 Feb 2023 10:37:35 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit c21a2aa1f7f1e291906881c71888b62eeed2faec
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Feb 27 16:13:04 2023 +0100
gnu: Add sugar-help-activity.
* gnu/packages/sugar.scm (sugar-help-activity): New variable.
---
gnu/packages/sugar.scm | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/sugar.scm b/gnu/packages/sugar.scm
index 7c72c1cbfe..fbc8da4206 100644
--- a/gnu/packages/sugar.scm
+++ b/gnu/packages/sugar.scm
@@ -344,3 +344,43 @@ and metadata, and the journal with querying and full text
search.")
build activities and other Sugar components. This is the GTK+ 3 binding of
the Sugar Toolkit.")
(license license:lgpl2.1+)))
+
+
+(define-public sugar-help-activity
+ (let ((commit "492531e95a4c60af9b85c79c59c24c06c2cd4bb3")
+ (revision "1"))
+ (package
+ (name "sugar-help-activity")
+ (version (git-version "20" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/sugarlabs/help-activity")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0awjbqyc9f74dx0d7fgjk42vfsygxr8jhwqiv4hpggqcawc02xv8"))))
+ (build-system python-build-system)
+ (arguments
+ (list
+ #:test-target "check"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-launcher
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "activity/activity.info"
+ (("exec = sugar-activity3")
+ (string-append "exec = "
+ (search-input-file inputs
"/bin/sugar-activity3"))))))
+ (replace 'install
+ (lambda _
+ (invoke "python" "setup.py" "install"
+ (string-append "--prefix=" #$output)))))))
+ (native-inputs
+ (list sugar-toolkit-gtk3))
+ (home-page "https://github.com/sugarlabs/help-activity")
+ (synopsis "Sugar activity for accessing documentation and manuals")
+ (description "This is an activity for the Sugar environment which aims
+to provide users with easy access to documentation and manuals.")
+ (license license:gpl3+))))
- branch master updated (cf9e0508b2 -> c21a2aa1f7), guix-commits, 2023/02/27
- 07/07: gnu: Add sugar-help-activity.,
guix-commits <=
- 05/07: gnu: sugar: Propagate sugar packages., guix-commits, 2023/02/27
- 02/07: gnu: sugar: Patch global location of Sugar activities., guix-commits, 2023/02/27
- 06/07: gnu: sugar: Add missing inputs., guix-commits, 2023/02/27
- 01/07: gnu: Add gst-plugins-espeak., guix-commits, 2023/02/27
- 03/07: gnu: sugar-toolkit-gtk3: Add missing inputs., guix-commits, 2023/02/27
- 04/07: gnu: sugar: Patch brightness module., guix-commits, 2023/02/27