diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2017-08-04 15:44:33 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2017-08-09 14:47:47 +0200 |
commit | 1738138cb3a48ed2f55c59c8d7c6ce12a4c4dcb3 (patch) | |
tree | 5ef07114628ac715ba4a0f9755ecee20f5277604 | |
parent | 31476df32e1d5194f4f7085bba487681cc250e38 (diff) | |
download | guix-1738138cb3a48ed2f55c59c8d7c6ce12a4c4dcb3.tar.gz |
gnu: r-igraph: Move to (gnu packages graph).
* gnu/packages/statistics.scm (r-igraph): Move from here... * gnu/packages/graph.scm (r-igraph): ...to here.
-rw-r--r-- | gnu/packages/graph.scm | 34 | ||||
-rw-r--r-- | gnu/packages/statistics.scm | 31 |
2 files changed, 34 insertions, 31 deletions
diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm index b379bfdd03..683bfeec66 100644 --- a/gnu/packages/graph.scm +++ b/gnu/packages/graph.scm @@ -21,12 +21,15 @@ #:use-module (guix packages) #:use-module (guix build-system gnu) #:use-module (guix build-system python) + #:use-module (guix build-system r) #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages) + #:use-module (gnu packages gcc) #:use-module (gnu packages compression) #:use-module (gnu packages maths) #:use-module (gnu packages multiprecision) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages statistics) #:use-module (gnu packages xml)) (define-public igraph @@ -82,3 +85,34 @@ more.") `(("pkg-config" ,pkg-config))) (home-page "http://pypi.python.org/pypi/python-igraph") (synopsis "Python bindings for the igraph network analysis library"))) + +(define-public r-igraph + (package + (name "r-igraph") + (version "1.1.2") + (source + (origin + (method url-fetch) + (uri (cran-uri "igraph" version)) + (sha256 + (base32 + "1v26wyk52snh8z6m5p7yqwcd9dbqifhm57j112i9x53ppi0npcc9")))) + (build-system r-build-system) + (native-inputs + `(("gfortran" ,gfortran))) + (inputs + `(("gmp" ,gmp) + ("libxml2" ,libxml2))) + (propagated-inputs + `(("r-irlba" ,r-irlba) + ("r-magrittr" ,r-magrittr) + ("r-matrix" ,r-matrix) + ("r-pkgconfig" ,r-pkgconfig))) + (home-page "http://igraph.org") + (synopsis "Network analysis and visualization") + (description + "This package provides routines for simple graphs and network analysis. +It can handle large graphs very well and provides functions for generating +random and regular graphs, graph visualization, centrality methods and much +more.") + (license license:gpl2+))) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 55a8a2a483..6d5cbb43a3 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -3280,37 +3280,6 @@ optimized in C++, and the main interface function provides an easy way of performing parallel computations on multicore machines.") (license license:gpl2+))) -(define-public r-igraph - (package - (name "r-igraph") - (version "1.1.2") - (source - (origin - (method url-fetch) - (uri (cran-uri "igraph" version)) - (sha256 - (base32 - "1v26wyk52snh8z6m5p7yqwcd9dbqifhm57j112i9x53ppi0npcc9")))) - (build-system r-build-system) - (native-inputs - `(("gfortran" ,gfortran))) - (inputs - `(("gmp" ,gmp) - ("libxml2" ,libxml2))) - (propagated-inputs - `(("r-irlba" ,r-irlba) - ("r-magrittr" ,r-magrittr) - ("r-matrix" ,r-matrix) - ("r-pkgconfig" ,r-pkgconfig))) - (home-page "http://igraph.org") - (synopsis "Network analysis and visualization") - (description - "This package provides routines for simple graphs and network analysis. -It can handle large graphs very well and provides functions for generating -random and regular graphs, graph visualization, centrality methods and much -more.") - (license license:gpl2+))) - (define-public r-r-methodss3 (package (name "r-r-methodss3") |