guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] gnu: Add miscfiles


From: John Darrington
Subject: [PATCH] gnu: Add miscfiles
Date: Tue, 21 Oct 2014 21:51:44 +0200

* gnu/packages/miscfiles.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
---
 gnu-system.am              |    1 +
 gnu/packages/miscfiles.scm |   44 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+)
 create mode 100644 gnu/packages/miscfiles.scm

diff --git a/gnu-system.am b/gnu-system.am
index b8b5b2c..1d51cee 100644
--- a/gnu-system.am
+++ b/gnu-system.am
@@ -168,6 +168,7 @@ GNU_SYSTEM_MODULES =                                \
   gnu/packages/mc.scm                          \
   gnu/packages/mcrypt.scm                      \
   gnu/packages/messaging.scm                   \
+  gnu/packages/miscfiles.scm                   \
   gnu/packages/mit-krb5.scm                    \
   gnu/packages/moe.scm                         \
   gnu/packages/mpd.scm                         \
diff --git a/gnu/packages/miscfiles.scm b/gnu/packages/miscfiles.scm
new file mode 100644
index 0000000..6bd2c49
--- /dev/null
+++ b/gnu/packages/miscfiles.scm
@@ -0,0 +1,44 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright 2014 John Darrington <address@hidden>
+;;;
+;;; 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 miscfiles)
+  #:use-module (guix licenses)
+  #:use-module (guix packages)
+  #:use-module (guix download)
+  #:use-module (guix build-system gnu))
+
+(define-public miscfiles
+  (package
+    (name "miscfiles")
+    (version "1.5")
+    (source
+     (origin
+      (method url-fetch)
+      (uri (string-append "mirror://gnu/" name "/" name "-"
+                          version ".tar.gz"))
+      (sha256
+       (base32
+        "005588vfrwx8ghsdv9p7zczj9lbc9a3r4m5aphcaqv8gif4siaka"))))
+    (build-system gnu-build-system)
+    (home-page "https://www.gnu.org/software/miscfiles/";)
+    (synopsis "Collection of miscellaneous text files")
+    (description "Miscfiles is a collection of files not of crucial importance
+for system administration or operation, but which have come to be common on
+various systems over the years. It includes data files for country codes,
+airport codes, currency information, and so on.")
+    (license gpl2)))
-- 
1.7.10.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]