mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: Add sugar-terminal-activity.
* gnu/packages/sugar.scm (sugar-terminal-activity): New variable.
This commit is contained in:
parent
ed63a3d9d6
commit
ca7bd90db3
1 changed files with 45 additions and 0 deletions
|
@ -506,6 +506,51 @@ (define-public sugar-jukebox-activity
|
|||
like @file{.m3u} and @file{.pls}.")
|
||||
(license license:gpl2+))))
|
||||
|
||||
(define-public sugar-terminal-activity
|
||||
(let ((commit "a1f92b9da6121bc9a6fbba2c3f3b885dd26d4617")
|
||||
(revision "1"))
|
||||
(package
|
||||
(name "sugar-terminal-activity")
|
||||
(version (git-version "47" revision commit))
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/sugarlabs/terminal-activity")
|
||||
(commit commit)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"11p7rrnlaw374h3qravhp915vdblvn07i2mnrzn7mhapkwvkg4h5"))))
|
||||
(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 _
|
||||
(setenv "HOME" "/tmp")
|
||||
(invoke "python" "setup.py" "install"
|
||||
(string-append "--prefix=" #$output)))))))
|
||||
;; All these libraries are accessed via gobject introspection.
|
||||
(propagated-inputs
|
||||
(list gtk+
|
||||
vte
|
||||
sugar-toolkit-gtk3))
|
||||
(inputs
|
||||
(list gettext-minimal))
|
||||
(home-page "https://help.sugarlabs.org/terminal.html")
|
||||
(synopsis "Terminal activity for the Sugar learning environment")
|
||||
(description "Terminal is a full-screen text mode program that provides
|
||||
a Command-Line Interface (CLI) to the system.")
|
||||
(license (list license:gpl2+ license:gpl3+)))))
|
||||
|
||||
(define-public sugar-typing-turtle-activity
|
||||
(package
|
||||
(name "sugar-typing-turtle-activity")
|
||||
|
|
Loading…
Reference in a new issue