From 7ff639510096ff762b9cced5fba6db254a961af9 Mon Sep 17 00:00:00 2001 From: Roel Janssen Date: Mon, 23 Mar 2020 11:42:36 +0100 Subject: gnu: Add circos. * gnu/local.mk: Register circos-remove-findbin.patch. * gnu/packages/patches/circos-remove-findbin.patch: New file. * gnu/packages/perl.scm: New variable. --- gnu/packages/perl.scm | 96 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) (limited to 'gnu/packages/perl.scm') diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 7e27ea01e7..0d4dcd6fe0 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -52,6 +52,7 @@ #:use-module (gnu packages base) #:use-module (gnu packages compression) #:use-module (gnu packages freedesktop) + #:use-module (gnu packages gd) #:use-module (gnu packages less) #:use-module (gnu packages ncurses) #:use-module (gnu packages perl-check) @@ -870,6 +871,101 @@ the Carp.pm module doesn't help.") ;; Either GPLv2 or the "Artistic" license. (license (list gpl2 artistic2.0)))) +(define-public circos + (package + (name "circos") + (version "0.69-9") + (source (origin + (method url-fetch) + (uri (string-append + "http://circos.ca/distribution/circos-" version ".tgz")) + (sha256 + (base32 "1ll9yxbk0v64813np0qz6h8bc53qlnhg9y1053b57xgkxgmxgn1l")) + (patches (list (search-patch "circos-remove-findbin.patch"))))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; There are no tests. + #:phases + (modify-phases %standard-phases + (delete 'configure) + (delete 'build) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin")) + (datapath (string-append out "/share/Circos")) + (error (string-append out "/share/Circos/error")) + (fonts (string-append out "/share/Circos/fonts")) + (data (string-append out "/share/Circos/data")) + (tiles (string-append out "/share/Circos/tiles")) + (etc (string-append out "/share/Circos/etc")) + (lib (string-append out "/lib/perl5/site_perl/" + ,(package-version perl))) + (install-directory (lambda (source target) + (mkdir-p target) + (copy-recursively source target)))) + ;; Circos looks into a relative path for its configuration + ;; files. We need to provide an absolute path towards the + ;; corresponding paths in the store. + (substitute* '("bin/circos" "etc/colors_fonts_patterns.conf" + "etc/gddiag.conf" "etc/brewer.conf" "README") + (("< Date: Tue, 24 Mar 2020 18:31:27 +0000 Subject: gnu: Add perl-mail-sendmail. * gnu/packages/perl.scm (perl-mail-sendmail): New variable. --- gnu/packages/perl.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu/packages/perl.scm') diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 0d4dcd6fe0..77fbc92710 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -24,6 +24,7 @@ ;;; Copyright © 2019 Alex Griffin ;;; Copyright © 2019 Stephen J. Scheck ;;; Copyright © 2020 Vincent Legoll +;;; Copyright © 2020 Paul Garlick ;;; ;;; This file is part of GNU Guix. ;;; @@ -5281,6 +5282,28 @@ Build a Mail::Internet object, and then send it out using Mail::Mailer. \"Smart functions\" you should not depend on. @end table") (license perl-license))) +(define-public perl-mail-sendmail + (package + (name "perl-mail-sendmail") + (version "0.80") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/N/NE/NEILB/Mail-Sendmail-" + version + ".tar.gz")) + (sha256 + (base32 + "1r38qbkj7jwj8cqy1rnqzkk81psxi08b1aiq392817f3bk5ri2jv")))) + (build-system perl-build-system) + (arguments `(#:tests? #f)) ;socket not available during build + (home-page "https://metacpan.org/release/Mail-Sendmail") + (synopsis "Simple platform independent mailer") + (description "Mail::Sendmail is a pure perl module that provides a +simple means to send email from a perl script. The module only +requires Perl5 and a network connection.") + (license perl-license))) (define-public perl-math-bezier (package -- cgit v1.2.3 From 5e44011bfb855f448155c2e672e82272a5a2241b Mon Sep 17 00:00:00 2001 From: Paul Garlick Date: Tue, 24 Mar 2020 20:04:39 +0000 Subject: gnu: perl-mail-sendmail: Add line above definition. * gnu/packages/perl.scm (perl-mail-sendmail): Add line. --- gnu/packages/perl.scm | 1 + 1 file changed, 1 insertion(+) (limited to 'gnu/packages/perl.scm') diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 77fbc92710..eb02d5e05e 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -5282,6 +5282,7 @@ Build a Mail::Internet object, and then send it out using Mail::Mailer. \"Smart functions\" you should not depend on. @end table") (license perl-license))) + (define-public perl-mail-sendmail (package (name "perl-mail-sendmail") -- cgit v1.2.3