>From 54c338b9bfe96cead2663506b55493d156e816dc Mon Sep 17 00:00:00 2001 From: Feng Shu <[email protected]> Date: Sat, 8 Apr 2017 12:13:41 +0800 Subject: [PATCH] gnu: add leafpad
* gnu/packages/leafpad.scm (gnu): Add leafpad.scm file --- gnu/packages/leafpad.scm | 56 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 gnu/packages/leafpad.scm diff --git a/gnu/packages/leafpad.scm b/gnu/packages/leafpad.scm new file mode 100644 index 000000000..b9e14fe16 --- /dev/null +++ b/gnu/packages/leafpad.scm @@ -0,0 +1,56 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2017 Feng Shu <[email protected]> +;;; +;;; This file is 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 (gnu packages leafpad) + #:use-module (gnu packages) + #:use-module (gnu packages autotools) + #:use-module (gnu packages gettext) + #:use-module (gnu packages glib) + #:use-module (gnu packages gtk) + #:use-module (gnu packages linux) + #:use-module (gnu packages pkg-config) + #:use-module (guix build-system gnu) + #:use-module (guix download) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix utils)) + +(define-public leafpad + (package + (name "leafpad") + (version "0.8.18.1") + (source (origin + (method url-fetch) + (uri (string-append "http://http.debian.net/debian/pool/main/l/" + name "/" name "_" version ".orig.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 simple text editor ") + (description "Leafpad is a simple 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+))) -- 2.12.2
--
