From 631425f801e612003ad7335cd880a93c9dcb164a Mon Sep 17 00:00:00 2001 From: pjotrp Date: Sun, 19 Feb 2017 10:27:59 +0000 Subject: Adding Perl package --- gn/packages/perl.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 gn/packages/perl.scm (limited to 'gn') diff --git a/gn/packages/perl.scm b/gn/packages/perl.scm new file mode 100644 index 0000000..426818b --- /dev/null +++ b/gn/packages/perl.scm @@ -0,0 +1,44 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2017 Pjotr Prins +;;; +;;; 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 (gn packages perl) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (gnu packages) + #:use-module (guix build-system perl)) + +(define-public perl-time-parsedate +(package + (name "perl-time-parsedate") + (version "2015.103") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/M/MU/MUIR/modules/Time-ParseDate-" + version + ".tar.gz")) + (sha256 + (base32 + "1lgfr87j4qwqnln0hyyzgik5ixqslzdaksn9m8y824gqbcihc6ic")))) + (build-system perl-build-system) + (arguments `(#:tests? #f)) ;Oh well + (home-page + "http://search.cpan.org/dist/Time-ParseDate") + (synopsis "Parse and format time values") + (description "ParseDate") + (license #f))) -- cgit v1.2.3