From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sKjHLyzFD2FWEQAAgWs5BA (envelope-from ) for ; Sun, 08 Aug 2021 13:51:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id YB+CKyzFD2HKCwAAbx9fmQ (envelope-from ) for ; Sun, 08 Aug 2021 11:51:08 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E3CD317EB2 for ; Sun, 8 Aug 2021 13:51:07 +0200 (CEST) Received: from localhost ([::1]:46762 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mChKc-0004qk-At for larch@yhetil.org; Sun, 08 Aug 2021 07:51:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53442) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mChKY-0004qa-AE for guix-patches@gnu.org; Sun, 08 Aug 2021 07:51:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42221) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mChKY-0001sb-3t for guix-patches@gnu.org; Sun, 08 Aug 2021 07:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mChKY-0000yW-0r for guix-patches@gnu.org; Sun, 08 Aug 2021 07:51:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49942] [PATCH] gnu: Add shell-color-scripts Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 08 Aug 2021 11:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49942 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49942@debbugs.gnu.org X-Debbugs-Original-To: "guix-patches@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.16284234573736 (code B ref -1); Sun, 08 Aug 2021 11:51:01 +0000 Received: (at submit) by debbugs.gnu.org; 8 Aug 2021 11:50:57 +0000 Received: from localhost ([127.0.0.1]:53767 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mChKN-0000y5-Us for submit@debbugs.gnu.org; Sun, 08 Aug 2021 07:50:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:34258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mChKJ-0000xv-Gy for submit@debbugs.gnu.org; Sun, 08 Aug 2021 07:50:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53438) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mChKI-0004lb-VF for guix-patches@gnu.org; Sun, 08 Aug 2021 07:50:47 -0400 Received: from mail2.protonmail.ch ([185.70.40.22]:59209) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mChKE-0001fL-TJ for guix-patches@gnu.org; Sun, 08 Aug 2021 07:50:45 -0400 Date: Sun, 08 Aug 2021 11:50:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1628423439; bh=JnVJlG3muDgm8LDb6/w+mKUiV1zLAv6NWuYN3KLbJ+Y=; h=Date:To:From:Reply-To:Subject:From; b=AmOrxMvo4XEQ4fEZV+Itc0c9Nimx/yxMF09N4qF80etGHNNkqW7pabl3JPFa7AIJ3 TmZlSlDRVXwTvTVXTKwp1GQQbcl/m2C3HLqdBjEViM8Vy/g/ldviDqcPxhCHC5WNGz SGxspFKiWj7tZaHtJh+n3UAX4Us58z1y1n/TB2/M= Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.22; envelope-from=phodina@protonmail.com; helo=mail2.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches From: phodina via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1628423468; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=JnVJlG3muDgm8LDb6/w+mKUiV1zLAv6NWuYN3KLbJ+Y=; b=g9/UbH9Gxwffjg3SIys9C5xpZwwHgzH1Tw+pnSCg7jF1t6PUTJAZK4UpOKyB9auVgaGI7W CZM6wlEx9brLAmd7wFClrvfid28h3hdB+0VnuvK+30SGPmvQVKKVXRiC9aQMomaxpLl+Og vCl6KioUHTsl/6hV04RmbYPiilDwnXO6iSlupAAZqjIxWTKXjUl0BszNnhwEtnBLRHAcEL K3ubK2oeLUamX3iqBHVBSM5sbT4BiF3QU1qtMgg6wdRmw3GT9O2Wti0t+vcq9FuRB1L/+e kf5INMAxqxxpjQPPwaNelBPjfz4AYp1bgnv6UdKF7rqMrwavOPUfbuZ3UQcHtw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628423468; a=rsa-sha256; cv=none; b=uVTd9RB53W0RkVzlCqwzq8bE/wJe+Qd8SUMDBfqAHTlVy4QPvIbtjseskp+j5u4Sgs3XOT GM8SelIjDrYJkPoF6z6BPjWqObGunAn8eP+LucYEdckqHG+VXXvxfrJVIfL8c4DHXHI7dv wcgLR1Jg9BTCRjUD+ALFCAfL2LAIbqBqtQyM72cH+MPWHBWh3iQwhzFs/ykOYYL8KZDfBy H5ow4EA8d9PVxCbh6K8Xt2SuP/qhDAVessSuwUEEjDxhig+feuu6Fr0K1onUlZc5nbr4m7 2+eb+DGqfOb9kRtyiGpv4eboly2mEji4wjmvBI8yvkMNGXkyF3kKkgJs7VRYDg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=AmOrxMvo; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.91 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=AmOrxMvo; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: E3CD317EB2 X-Spam-Score: -2.91 X-Migadu-Scanner: scn0.migadu.com X-TUID: sQQe8cTeQvsx * gnu/packages/terminals.scm (shell-color-scripts): New variable. diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index 9377e5622b..c2028956fd 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -25,6 +25,7 @@ ;;; Copyright =C2=A9 2020 Leo Famulari ;;; Copyright =C2=A9 2021 Ekaitz Zarraga ;;; Copyright =C2=A9 2021 Rapha=C3=ABl M=C3=A9lotte +;;; Copyright =C2=A9 2021 Petr Hodina ;;; ;;; This file is part of GNU Guix. ;;; @@ -45,6 +46,7 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix build-system cargo) #:use-module (guix build-system cmake) + #:use-module (guix build-system copy) #:use-module (guix build-system gnu) #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system go) @@ -766,6 +768,36 @@ It's a terminal emulator with few dependencies, so you= don't need a full GNOME desktop installed to have a decent terminal emulator.") (license license:gpl2))) +(define-public shell-color-scripts + (package + (name "colorscript") + (version "3dbdfac24bb629238fdc3e1c8909e2c8577f8735") ; no tags + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/dwt1/shell-color-scripts") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0lkiz6fkrqryr1vh0lh067q7hp8ba8887pkk8caipqphjswp2z16")))) + (build-system copy-build-system) + (arguments + `(#:install-plan '(("colorscript.sh" "bin/colorscript.sh") + ("colorscripts" "colorscripts")) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-colorscipts-location + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "colorscript.sh" + (("/opt/shell-color-scripts/colorscripts") + (string-append (assoc-ref outputs "out") "/colorscripts")))= ))))) + (inputs `(("ncurses" ,ncurses))) + (synopsis "Collection of terminal color scripts") + (description "Collection of terminal color scripts") + (home-page "https://gitlab.com/dwt1/shell-color-scripts") + (license license:expat))) ; MIT + (define-public go-github.com-nsf-termbox-go (let ((commit "288510b9734e30e7966ec2f22b87c5f8e67345e3") (revision "1")) -- 2.32.0