From e1d1fd5ab82ce6a57ab1b9d840a2ecc6674e6fb4 Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Wed, 27 Nov 2024 18:58:27 -0500 Subject: gnu: cbonsai: Update to 1.3.1-0.50fe627. This fixes some minor bugs in the program. * gnu/packages/toys.scm (cbonsai): Update to 1.3.1-0.50fe627. Change-Id: I6f08288d70e496b6cd9a7acba5a19d0a88389872 --- gnu/packages/toys.scm | 72 ++++++++++++++++++++++++++------------------------- 1 file changed, 37 insertions(+), 35 deletions(-) diff --git a/gnu/packages/toys.scm b/gnu/packages/toys.scm index a88b827704..8b22590ff9 100644 --- a/gnu/packages/toys.scm +++ b/gnu/packages/toys.scm @@ -508,39 +508,41 @@ of the Nyan Cat / Poptart Cat animation.") (license license:ncsa))) (define-public cbonsai - (package - (name "cbonsai") - (version "1.3.1") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://gitlab.com/jallbrit/cbonsai.git") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1krsrf7gilmpnba6hjgz8mk32vs55b4i1rxlp7ajrw0v487blljw")))) - (build-system gnu-build-system) - (arguments - `(#:tests? #f ; No test suite - #:make-flags - (list (string-append "CC=" ,(cc-for-target)) - (string-append "PREFIX=" (assoc-ref %outputs "out"))) - #:phases - (modify-phases %standard-phases - (delete 'configure) ; No ./configure script - (add-after 'install 'install-doc - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (doc (string-append out "/share/doc/" ,name "-" - ,(package-version this-package)))) - (install-file "README.md" doc))))))) - (native-inputs - (list pkg-config scdoc)) - (inputs - (list ncurses)) - (home-page "https://gitlab.com/jallbrit/cbonsai") - (synopsis "Grow bonsai trees in a terminal") - (description "Cbonsai is a bonsai tree generator using ASCII art. It + (let ((commit "50fe627c84036e3be4115b02be04d17f58480199") + (revision "0")) + (package + (name "cbonsai") + (version (git-version "1.3.1" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/jallbrit/cbonsai.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "15bzp99gb1qadp6b6fr2bg0adsvcp04ag83af7cl9lwhpznmid5x")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; No test suite + #:make-flags + (list (string-append "CC=" ,(cc-for-target)) + (string-append "PREFIX=" (assoc-ref %outputs "out"))) + #:phases + (modify-phases %standard-phases + (delete 'configure) ; No ./configure script + (add-after 'install 'install-doc + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (doc (string-append out "/share/doc/" ,name "-" + ,(package-version this-package)))) + (install-file "README.md" doc))))))) + (native-inputs + (list pkg-config scdoc)) + (inputs + (list ncurses)) + (home-page "https://gitlab.com/jallbrit/cbonsai") + (synopsis "Grow bonsai trees in a terminal") + (description "Cbonsai is a bonsai tree generator using ASCII art. It creates, colors, and positions a bonsai tree, and is configurable.") - (license license:gpl3+))) + (license license:gpl3+)))) -- cgit v1.2.3