diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2023-03-04 18:58:58 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2023-03-04 18:59:17 +0100 |
commit | d6045055720bc0763f8a079d75b941b4898349a4 (patch) | |
tree | 5cb08ce2616699f79d9ff8cff3020d3b0917d0e2 /gnu/packages | |
parent | a0b17c09770d3d84dcff38f35a61649e0340a879 (diff) | |
download | guix-d6045055720bc0763f8a079d75b941b4898349a4.tar guix-d6045055720bc0763f8a079d75b941b4898349a4.tar.gz |
gnu: Add sugar-block-party-activity.
* gnu/packages/sugar.scm (sugar-block-party-activity): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/sugar.scm | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/gnu/packages/sugar.scm b/gnu/packages/sugar.scm index 5ed45b2608..d6c392fe6c 100644 --- a/gnu/packages/sugar.scm +++ b/gnu/packages/sugar.scm @@ -359,6 +359,48 @@ the Sugar Toolkit.") (license license:lgpl2.1+))) +(define-public sugar-block-party-activity + (let ((commit "a49e68ec00e647af712d8e284622722f2f78b6bf") + (revision "1")) + (package + (name "sugar-block-party-activity") + (version (git-version "11" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sugarlabs/block-party-activity") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0hy82c0gn1hr34arhnh9k6mx2789ki85fkgvga4sw6gwh31278pl")))) + (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))))))) + (propagated-inputs + (list gtk+ + gstreamer + gst-plugins-base + sugar-toolkit-gtk3)) + (home-page "https://github.com/sugarlabs/block-party-activity") + (synopsis "Tetris-like game for Sugar desktop environment") + (description "Block Party is an activity for the Sugar desktop providing +a Tetris-like game.") + (license license:expat)))) + (define-public sugar-browse-activity (package (name "sugar-browse-activity") |