From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Feng Shu" Subject: gnu: add leafpad Date: Sat, 08 Apr 2017 12:16:40 +0800 Message-ID: <874lxz5yaf.fsf@163.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57715) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cwho1-0003wZ-OR for guix-devel@gnu.org; Sat, 08 Apr 2017 00:16:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cwhnx-0004In-NU for guix-devel@gnu.org; Sat, 08 Apr 2017 00:16:57 -0400 Received: from m12-14.163.com ([220.181.12.14]:46877) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cwhnw-0004IQ-8b for guix-devel@gnu.org; Sat, 08 Apr 2017 00:16:53 -0400 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel Cc: Feng Shu --=-=-= Content-Type: text/x-patch; charset=iso-8859-1 Content-Disposition: inline; filename=0001-gnu-add-leafpad.patch Content-Transfer-Encoding: quoted-printable >From 54c338b9bfe96cead2663506b55493d156e816dc Mon Sep 17 00:00:00 2001 From: Feng Shu 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 =A9 2017 Feng Shu +;;; +;;; 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 . + +(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 sim= plicity. +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 easil= y compiled, +requires few libraries, and starts up quickly. ") + (license license:gpl2+))) --=20 2.12.2 --=-=-= Content-Type: text/plain -- --=-=-=--