diff options
author | Simon Streit <simon@netpanic.org> | 2021-11-24 22:40:48 +0100 |
---|---|---|
committer | Simon Streit <simon@netpanic.org> | 2021-11-24 22:40:48 +0100 |
commit | 01e0b200161ab047aed83e90188baa83efecdfb4 (patch) | |
tree | 5ecd2e7d76d06c8f6ef7c8a6e2c5672d2df2315b | |
parent | 7dba7255c9ab62789efda7a34f7d61097a366e52 (diff) |
siguix: Add parcellite.
* siguix/packages/parcellite.scm (parcellite): New variable.
-rw-r--r-- | siguix/packages/parcellite.scm | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/siguix/packages/parcellite.scm b/siguix/packages/parcellite.scm new file mode 100644 index 0000000..0fd02de --- /dev/null +++ b/siguix/packages/parcellite.scm @@ -0,0 +1,65 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2021 Simon Streit <simon@netpanic.org> +;;; +;;; This file is NOT part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. + +(define-module (siguix packages parcellite) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix download) + #:use-module (guix build-system glib-or-gtk) + #:use-module (guix packages) + #:use-module (gnu packages) + #:use-module (gnu packages autotools) + #:use-module (gnu packages glib) + #:use-module (gnu packages gtk) + #:use-module (gnu packages pkg-config)) + +(define-public parcellite + (package + (name "parcellite") + (version "1.2.1") + (source + (origin + (method url-fetch) + (uri (string-append "http://sourceforge.net/projects/" + name "/files/" name "/" name "-" + version "/" name "-" version + ".tar.gz/download")) + (sha256 + (base32 "0iphgqlx78mmpzpim2c2d4vwalm5xwz74mcqrqcy41vndk2wg8db")))) + (build-system glib-or-gtk-build-system) + (arguments + `(#:configure-flags + (list "LDFLAGS=-Wl,--copy-dt-needed-entries") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'automake + (lambda _ + (setenv "SHELL" (which "sh")) + (setenv "CONFIG_SHELL" (which "sh")) + (invoke "sh" "autogen.sh")))))) + (native-inputs + `(("autoconf" ,autoconf-wrapper) + ("automake" ,automake) + ("intltool" ,intltool) + ("gtk+" ,gtk+-2) + ("pkg-config" ,pkg-config))) + (home-page "http://parcellite.sourceforge.net/") + (synopsis "The lightweight GTK+ clipboard manager") + (description "Parcellite is a lightweight GTK+ clipboard +manager. This is a stripped down, basic-features-only clipboard +manager with a small memory footprint for those who like simplicity.") + (license license:gpl2+))) |