gnu: Add sugar-typing-turtle-activity.
* gnu/packages/sugar.scm (sugar-typing-turtle-activity): New variable.
This commit is contained in:
parent
c21a2aa1f7
commit
6b6e05cd23
1 changed files with 38 additions and 0 deletions
|
@ -384,3 +384,41 @@ (define-public sugar-help-activity
|
|||
(description "This is an activity for the Sugar environment which aims
|
||||
to provide users with easy access to documentation and manuals.")
|
||||
(license license:gpl3+))))
|
||||
|
||||
(define-public sugar-typing-turtle-activity
|
||||
(package
|
||||
(name "sugar-typing-turtle-activity")
|
||||
(version "32")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/sugarlabs/typing-turtle-activity")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"0shadv9wgddjvl97kvsqb8iw1wmmfw5lzcqk78hd70pzvh4c1hmd"))))
|
||||
(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 gettext-minimal sugar-toolkit-gtk3))
|
||||
(home-page "https://help.sugarlabs.org/en/typing_turtle.html")
|
||||
(synopsis "Learn typing")
|
||||
(description "Need some help typing? In this activity for the Sugar
|
||||
environment you will learn the best way to hold your hands in order for you to
|
||||
become a faster typist.")
|
||||
(license license:gpl3+)))
|
||||
|
|
Loading…
Reference in a new issue