From a1386815503036773a1092554f36d45dd9361efe Mon Sep 17 00:00:00 2001 From: Léo Le Bouter Date: Wed, 24 Feb 2021 14:04:54 +0100 Subject: gnu: Add greenclip. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/haskell-apps.scm (greenclip): New variable. Signed-off-by: Léo Le Bouter --- gnu/packages/haskell-apps.scm | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) (limited to 'gnu/packages/haskell-apps.scm') diff --git a/gnu/packages/haskell-apps.scm b/gnu/packages/haskell-apps.scm index 16531cf290..a4b88d22c1 100644 --- a/gnu/packages/haskell-apps.scm +++ b/gnu/packages/haskell-apps.scm @@ -16,6 +16,7 @@ ;;; Copyright © 2020 Alexandru-Sergiu Marton ;;; Copyright © 2020 Brian Leung ;;; Copyright © 2021 EuAndreh +;;; Copyright © 2021 Stefan Reichör ;;; ;;; This file is part of GNU Guix. ;;; @@ -50,7 +51,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 @@ -720,6 +722,40 @@ Wayland, and Linux console environments alike.") formatting by forgetting all existing formatting during parsing.") (license license:mpl2.0))) +(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:bsd-3))) + (define-public raincat (package (name "raincat") -- cgit v1.2.3