From patchwork Fri Feb 19 20:04:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Stefan_Reich=C3=B6r?= X-Patchwork-Id: 27147 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 32ADE27BC49; Fri, 19 Feb 2021 20:06:30 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id DDBE027BC48 for ; Fri, 19 Feb 2021 20:06:29 +0000 (GMT) Received: from localhost ([::1]:46688 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDC2n-0004mr-2Q for patchwork@mira.cbaines.net; Fri, 19 Feb 2021 15:06:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50012) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDC1P-0003Wz-9B for guix-patches@gnu.org; Fri, 19 Feb 2021 15:05:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:38908) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lDC1P-0004O0-2E for guix-patches@gnu.org; Fri, 19 Feb 2021 15:05:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lDC1O-00054w-U2 for guix-patches@gnu.org; Fri, 19 Feb 2021 15:05:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46644] [PATCH 3/3] gnu: Add greenclip. Resent-From: Stefan =?utf-8?q?Reich=C3=B6r?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 19 Feb 2021 20:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46644 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46644@debbugs.gnu.org Cc: Stefan =?utf-8?q?Reich=C3=B6r?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161376509519483 (code B ref -1); Fri, 19 Feb 2021 20:05:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Feb 2021 20:04:55 +0000 Received: from localhost ([127.0.0.1]:50449 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDC1G-00053z-Mr for submit@debbugs.gnu.org; Fri, 19 Feb 2021 15:04:55 -0500 Received: from lists.gnu.org ([209.51.188.17]:45678) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDC1E-00053j-KF for submit@debbugs.gnu.org; Fri, 19 Feb 2021 15:04:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49986) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDC1D-0003UT-JM for guix-patches@gnu.org; Fri, 19 Feb 2021 15:04:51 -0500 Received: from dd3624.kasserver.com ([85.13.130.11]:54720) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDC1B-0004IV-AN for guix-patches@gnu.org; Fri, 19 Feb 2021 15:04:51 -0500 Received: from localhost (37-186-9-252.ip.as39912.net [37.186.9.252]) by dd3624.kasserver.com (Postfix) with ESMTPA id 1AE4F5D43FE4; Fri, 19 Feb 2021 21:04:47 +0100 (CET) From: Stefan =?utf-8?q?Reich=C3=B6r?= Date: Fri, 19 Feb 2021 21:04:27 +0100 Message-Id: <20210219200427.105200-3-stefan@xsteve.at> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210219200427.105200-1-stefan@xsteve.at> References: <20210219200427.105200-1-stefan@xsteve.at> MIME-Version: 1.0 Received-SPF: none client-ip=85.13.130.11; envelope-from=stefan@xsteve.at; helo=dd3624.kasserver.com X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/haskell-apps.scm (greenclip): New variable. --- I am not sure what license should be used for this package. gnu/packages/haskell-apps.scm | 38 ++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/gnu/packages/haskell-apps.scm b/gnu/packages/haskell-apps.scm index a6fb33c31b..22219fbd1b 100644 --- a/gnu/packages/haskell-apps.scm +++ b/gnu/packages/haskell-apps.scm @@ -15,6 +15,7 @@ ;;; Copyright © 2019, 2020 Alex Griffin ;;; Copyright © 2020 Alexandru-Sergiu Marton ;;; Copyright © 2020 Brian Leung +;;; Copyright © 2021 Stefan Reichör ;;; ;;; This file is part of GNU Guix. ;;; @@ -49,7 +50,8 @@ #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages rsync) - #:use-module (gnu packages version-control)) + #:use-module (gnu packages version-control) + #:use-module (gnu packages xorg)) (define-public apply-refact (package @@ -690,6 +692,40 @@ By operating at a lower level than most similar tools, it supports X11, Wayland, and Linux console environments alike.") (license license:expat))) +(define-public greenclip + (package + (name "greenclip") + (version "3.4") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/erebe/greenclip") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1baw360dcnyavacf7a8v6wq4m5g6bcmyybkckv4cz7r4xl5p3qws")))) + (build-system haskell-build-system) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("libx11" ,libx11) + ("libxext" ,libxext) + ("libxscrnsaver" ,libxscrnsaver) + ("ghc-x11" ,ghc-x11) + ("ghc-exceptions" ,ghc-exceptions) + ("ghc-hashable" ,ghc-hashable) + ("ghc-microlens" ,ghc-microlens) + ("ghc-microlens-mtl" ,ghc-microlens-mtl) + ("ghc-protolude" ,ghc-protolude) + ("ghc-vector" ,ghc-vector) + ("ghc-wordexp" ,ghc-wordexp))) + (home-page "https://github.com/erebe/greenclip") + (synopsis "Simple Clipboard manager") + (description "@code{greenclip} is a clipboard manager written in +Haskell.") + (license license:expat))) + (define-public raincat (package (name "raincat")