diff options
author | Feng Shu <tumashu@163.com> | 2017-04-08 21:28:47 -0400 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2017-04-08 21:30:26 -0400 |
commit | 0bf11648fc90cf0689fdc674f4aee4592694b341 (patch) | |
tree | 384c685aca55536babcd7211cb90edc48cd2970f /gnu | |
parent | ea240de4af85ae8ecc0c1afcd4778e01a88e6f5c (diff) | |
download | guix-0bf11648fc90cf0689fdc674f4aee4592694b341.tar guix-0bf11648fc90cf0689fdc674f4aee4592694b341.tar.gz |
gnu: Add leafpad.
* gnu/packages/text-editors.scm (leafpad): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/text-editors.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm index f860b0e8a8..7aa4cb6035 100644 --- a/gnu/packages/text-editors.scm +++ b/gnu/packages/text-editors.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2016 José Miguel Sánchez García <jmi2k@openmailbox.org> ;;; Copyright © 2016 Carlo Zancanaro <carlo@zancanaro.id.au> ;;; Copyright © 2017 Eric Bavier <bavier@member.fsf.org> +;;; Copyright © 2017 Feng Shu <tumashu@163.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -29,8 +30,11 @@ #:use-module (gnu packages boost) #:use-module (gnu packages documentation) #:use-module (gnu packages gcc) + #:use-module (gnu packages glib) + #:use-module (gnu packages gtk) #:use-module (gnu packages lua) #:use-module (gnu packages ncurses) + #:use-module (gnu packages pkg-config) #:use-module (gnu packages ruby) #:use-module (gnu packages terminals) #:use-module (gnu packages xml)) @@ -161,3 +165,28 @@ competitive (as in keystroke count) with Vim.") interface similar to many user-friendly editors. JOE has some of the key bindings and many of the powerful features of GNU Emacs.") (license license:gpl3+))) + +(define-public leafpad + (package + (name "leafpad") + (version "0.8.18.1") + (source (origin + (method url-fetch) + (uri (string-append "https://download.savannah.gnu.org/releases/" + "leafpad/leafpad-" version ".tar.gz")) + (sha256 + (base32 + "0b0az2wvqgvam7w0ns1j8xp2llslm1rx6h7zcsy06a7j0yp257cm")))) + (build-system gnu-build-system) + (native-inputs + `(("intltool" ,intltool) + ("pkg-config" ,pkg-config))) + (inputs + `(("gtk+" ,gtk+-2))) + (home-page "https://wiki.gnome.org/Apps/Gedit") + (synopsis "GTK+ based text editor") + (description "Leafpad is a GTK+ text editor that emphasizes simplicity. As +development focuses on keeping weight down to a minimum, only the most essential +features are implemented in the editor. Leafpad is simple to use, is easily +compiled, requires few libraries, and starts up quickly. ") + (license license:gpl2+))) |