From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:47894) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9Zxz-0000NI-Nr for guix-patches@gnu.org; Wed, 04 Mar 2020 14:46:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j9Zxy-0001XZ-Ja for guix-patches@gnu.org; Wed, 04 Mar 2020 14:46:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35891) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j9Zxx-0001Wj-VR for guix-patches@gnu.org; Wed, 04 Mar 2020 14:46:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j9Zxx-0006IZ-UT for guix-patches@gnu.org; Wed, 04 Mar 2020 14:46:01 -0500 Subject: [bug#39915] [PATCH] gnu: Add nyancat. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:47750) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9ZxM-0000GD-Hk for guix-patches@gnu.org; Wed, 04 Mar 2020 14:45:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j9ZxL-00010e-E0 for guix-patches@gnu.org; Wed, 04 Mar 2020 14:45:24 -0500 Received: from flashner.co.il ([178.62.234.194]:56484) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j9ZxL-0000wH-7p for guix-patches@gnu.org; Wed, 04 Mar 2020 14:45:23 -0500 From: Efraim Flashner Date: Wed, 4 Mar 2020 21:44:48 +0200 Message-Id: <20200304194448.11305-1-efraim@flashner.co.il> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 39915@debbugs.gnu.org Cc: Efraim Flashner * gnu/packages/toys.scm (nyancat): New variable. --- gnu/packages/toys.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/toys.scm b/gnu/packages/toys.scm index fd86aec6ef..3f2b273cf9 100644 --- a/gnu/packages/toys.scm +++ b/gnu/packages/toys.scm @@ -2,6 +2,7 @@ ;;; Copyright =C2=A9 2017, 2018 Tobias Geerinckx-Rice ;;; Copyright =C2=A9 2019 Jesse Gibbons ;;; Copyright =C2=A9 2019 Timotej Lazar +;;; Copyright =C2=A9 2020 Efraim Flashner ;;; ;;; This file is part of GNU Guix. ;;; @@ -200,3 +201,39 @@ The GNU project hosts a similar collection of filter= s, the GNU talkfilters.") the desktop background. Additional customizable effects include wind, s= tars and various scenery elements.") (license license:gpl3+))) + +(define-public nyancat + (package + (name "nyancat") + (version "1.5.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/klange/nyancat") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1mg8nm5xzcq1xr8cvx24ym2vmafkw53rijllwcdm9miiz0p5ky9k")))) + (build-system gnu-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (delete 'configure) ; no configure script + (add-after 'unpack 'set-environment-variables + (lambda _ (setenv "CC" (which "gcc")) #t)) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin")) + (man (string-append out "/share/man/man1"))) + (install-file "src/nyancat" bin) + (install-file "nyancat.1" man)) + #t))))) + (home-page "https://nyancat.dakko.us/") + (synopsis "Nyan cat telnet server") + (description + "This is an animated, color, ANSI-text telnet server that renders a= loop +of the Nyan Cat / Poptart Cat animation.") + (license license:ncsa))) --=20 2.25.1