diff options
| author | Ricardo Wurmus <rekado@elephly.net> | 2025-01-09 15:12:26 +0100 |
|---|---|---|
| committer | Ricardo Wurmus <rekado@elephly.net> | 2025-01-09 15:13:48 +0100 |
| commit | d60fb97b5f3cb61bc4c269ac5c1a4953965021cd (patch) | |
| tree | b7c59c5c97e8d543c83fcbf1c4a1f0202264a413 /gnu | |
| parent | 66a1a1fe22aff54973ab5c33957a338b33b8274c (diff) | |
gnu: Add sugar-portfolio-activity.
* gnu/packages/sugar.scm (sugar-portfolio-activity): New variable.
Change-Id: I52246ce832a90b0e909112aeeb788d29184b45ec
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/sugar.scm | 56 |
1 files changed, 55 insertions, 1 deletions
diff --git a/gnu/packages/sugar.scm b/gnu/packages/sugar.scm index 42b2e9694ab..9a82b5fb20e 100644 --- a/gnu/packages/sugar.scm +++ b/gnu/packages/sugar.scm | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | ;;; GNU Guix --- Functional package management for GNU | 1 | ;;; GNU Guix --- Functional package management for GNU |
| 2 | ;;; Copyright © 2023, 2024 Ricardo Wurmus <rekado@elephly.net> | 2 | ;;; Copyright © 2023-2025 Ricardo Wurmus <rekado@elephly.net> |
| 3 | ;;; | 3 | ;;; |
| 4 | ;;; This file is part of GNU Guix. | 4 | ;;; This file is part of GNU Guix. |
| 5 | ;;; | 5 | ;;; |
| @@ -996,6 +996,60 @@ come to life with forces (think gravity, Newton!), friction (scrrrrape), and | |||
| 996 | inertia (ahh, slow down!).") | 996 | inertia (ahh, slow down!).") |
| 997 | (license license:gpl3+)))) | 997 | (license license:gpl3+)))) |
| 998 | 998 | ||
| 999 | (define-public sugar-portfolio-activity | ||
| 1000 | (let ((commit "331c3e2542b4885112fd32b3c32ed4f5916d204c") | ||
| 1001 | (revision "1")) | ||
| 1002 | (package | ||
| 1003 | (name "sugar-portfolio-activity") | ||
| 1004 | (version (git-version "52" revision commit)) | ||
| 1005 | (source (origin | ||
| 1006 | (method git-fetch) | ||
| 1007 | (uri (git-reference | ||
| 1008 | (url "https://github.com/sugarlabs/portfolio-activity") | ||
| 1009 | (commit commit))) | ||
| 1010 | (file-name (git-file-name name version)) | ||
| 1011 | (sha256 | ||
| 1012 | (base32 | ||
| 1013 | "1zaab7ara40imkd85hilslc4rqyjsgkzrcngsrw99dryl9n4mx1p")))) | ||
| 1014 | (build-system python-build-system) | ||
| 1015 | (arguments | ||
| 1016 | (list | ||
| 1017 | #:tests? #false ;there are none | ||
| 1018 | #:phases | ||
| 1019 | #~(modify-phases %standard-phases | ||
| 1020 | (add-after 'unpack 'patch-launcher | ||
| 1021 | (lambda* (#:key inputs #:allow-other-keys) | ||
| 1022 | (substitute* "activity/activity.info" | ||
| 1023 | (("exec = sugar-activity3") | ||
| 1024 | (string-append "exec = " | ||
| 1025 | (search-input-file inputs "/bin/sugar-activity3")))))) | ||
| 1026 | (replace 'install | ||
| 1027 | (lambda _ | ||
| 1028 | (setenv "HOME" "/tmp") | ||
| 1029 | (invoke "python" "setup.py" "install" | ||
| 1030 | (string-append "--prefix=" #$output))))))) | ||
| 1031 | ;; All these libraries are accessed via gobject introspection. | ||
| 1032 | (propagated-inputs | ||
| 1033 | (list cairo | ||
| 1034 | pango | ||
| 1035 | gdk-pixbuf | ||
| 1036 | gobject-introspection | ||
| 1037 | gtk+ | ||
| 1038 | gstreamer | ||
| 1039 | gst-plugins-base | ||
| 1040 | python-dbus | ||
| 1041 | python-pygobject | ||
| 1042 | sugar-datastore | ||
| 1043 | sugar-toolkit-gtk3 | ||
| 1044 | telepathy-glib)) | ||
| 1045 | (inputs | ||
| 1046 | (list gettext-minimal)) | ||
| 1047 | (home-page "https://github.com/sugarlabs/portfolio-activity") | ||
| 1048 | (synopsis "Portfolio for the Sugar Journal") | ||
| 1049 | (description "The Portfolio activity creates a slide show from Sugar | ||
| 1050 | Journal entries that have been ‘starred’.") | ||
| 1051 | (license license:gpl3+)))) | ||
| 1052 | |||
| 999 | (define-public sugar-read-activity | 1053 | (define-public sugar-read-activity |
| 1000 | (package | 1054 | (package |
| 1001 | (name "sugar-read-activity") | 1055 | (name "sugar-read-activity") |
