gnu: r-adaptivesparsity: Move to (gnu packages cran).
* gnu/packages/machine-learning.scm (r-adaptivesparsity): Move from here... * gnu/packages/cran.scm (r-adaptivesparsity): ...to here. Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
This commit is contained in:
		
							parent
							
								
									b17ace24ca
								
							
						
					
					
						commit
						d3d38bd8f1
					
				
					 2 changed files with 36 additions and 36 deletions
				
			
		| 
						 | 
					@ -23641,6 +23641,42 @@ function that determines the current environment and returns the appropriate
 | 
				
			||||||
value.")
 | 
					value.")
 | 
				
			||||||
    (license license:gpl3)))
 | 
					    (license license:gpl3)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define-public r-adaptivesparsity
 | 
				
			||||||
 | 
					  (package
 | 
				
			||||||
 | 
					    (name "r-adaptivesparsity")
 | 
				
			||||||
 | 
					    (version "1.6")
 | 
				
			||||||
 | 
					    (source (origin
 | 
				
			||||||
 | 
					              (method url-fetch)
 | 
				
			||||||
 | 
					              (uri (cran-uri "AdaptiveSparsity" version))
 | 
				
			||||||
 | 
					              (sha256
 | 
				
			||||||
 | 
					               (base32
 | 
				
			||||||
 | 
					                "0imr5m8mll9j6n4icsv6z9rl5kbnwsp9wvzrg7n90nnmcxq2cz91"))))
 | 
				
			||||||
 | 
					    (properties
 | 
				
			||||||
 | 
					     `((upstream-name . "AdaptiveSparsity")))
 | 
				
			||||||
 | 
					    (build-system r-build-system)
 | 
				
			||||||
 | 
					    (arguments
 | 
				
			||||||
 | 
					     `(#:phases
 | 
				
			||||||
 | 
					       (modify-phases %standard-phases
 | 
				
			||||||
 | 
					         (add-after 'unpack 'link-against-armadillo
 | 
				
			||||||
 | 
					           (lambda _
 | 
				
			||||||
 | 
					             (substitute* "src/Makevars"
 | 
				
			||||||
 | 
					               (("PKG_LIBS=" prefix)
 | 
				
			||||||
 | 
					                (string-append prefix "-larmadillo"))))))))
 | 
				
			||||||
 | 
					    (propagated-inputs
 | 
				
			||||||
 | 
					     `(("r-mass" ,r-mass)
 | 
				
			||||||
 | 
					       ("r-matrix" ,r-matrix)
 | 
				
			||||||
 | 
					       ("r-rcpp" ,r-rcpp)
 | 
				
			||||||
 | 
					       ("r-rcpparmadillo" ,r-rcpparmadillo)))
 | 
				
			||||||
 | 
					    (inputs
 | 
				
			||||||
 | 
					     `(("armadillo" ,armadillo)))
 | 
				
			||||||
 | 
					    (home-page "https://cran.r-project.org/web/packages/AdaptiveSparsity")
 | 
				
			||||||
 | 
					    (synopsis "Adaptive sparsity models")
 | 
				
			||||||
 | 
					    (description
 | 
				
			||||||
 | 
					     "This package implements the Figueiredo machine learning algorithm for
 | 
				
			||||||
 | 
					adaptive sparsity and the Wong algorithm for adaptively sparse gaussian
 | 
				
			||||||
 | 
					geometric models.")
 | 
				
			||||||
 | 
					    (license license:lgpl3+)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public r-workflows
 | 
					(define-public r-workflows
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "r-workflows")
 | 
					    (name "r-workflows")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -660,42 +660,6 @@ synchronization, thread-safety, concurrent data structures, and non-blocking
 | 
				
			||||||
I/O.")
 | 
					I/O.")
 | 
				
			||||||
    (license license:asl2.0)))
 | 
					    (license license:asl2.0)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public r-adaptivesparsity
 | 
					 | 
				
			||||||
  (package
 | 
					 | 
				
			||||||
    (name "r-adaptivesparsity")
 | 
					 | 
				
			||||||
    (version "1.6")
 | 
					 | 
				
			||||||
    (source (origin
 | 
					 | 
				
			||||||
              (method url-fetch)
 | 
					 | 
				
			||||||
              (uri (cran-uri "AdaptiveSparsity" version))
 | 
					 | 
				
			||||||
              (sha256
 | 
					 | 
				
			||||||
               (base32
 | 
					 | 
				
			||||||
                "0imr5m8mll9j6n4icsv6z9rl5kbnwsp9wvzrg7n90nnmcxq2cz91"))))
 | 
					 | 
				
			||||||
    (properties
 | 
					 | 
				
			||||||
     `((upstream-name . "AdaptiveSparsity")))
 | 
					 | 
				
			||||||
    (build-system r-build-system)
 | 
					 | 
				
			||||||
    (arguments
 | 
					 | 
				
			||||||
     `(#:phases
 | 
					 | 
				
			||||||
       (modify-phases %standard-phases
 | 
					 | 
				
			||||||
         (add-after 'unpack 'link-against-armadillo
 | 
					 | 
				
			||||||
           (lambda _
 | 
					 | 
				
			||||||
             (substitute* "src/Makevars"
 | 
					 | 
				
			||||||
               (("PKG_LIBS=" prefix)
 | 
					 | 
				
			||||||
                (string-append prefix "-larmadillo"))))))))
 | 
					 | 
				
			||||||
    (propagated-inputs
 | 
					 | 
				
			||||||
     `(("r-mass" ,r-mass)
 | 
					 | 
				
			||||||
       ("r-matrix" ,r-matrix)
 | 
					 | 
				
			||||||
       ("r-rcpp" ,r-rcpp)
 | 
					 | 
				
			||||||
       ("r-rcpparmadillo" ,r-rcpparmadillo)))
 | 
					 | 
				
			||||||
    (inputs
 | 
					 | 
				
			||||||
     `(("armadillo" ,armadillo)))
 | 
					 | 
				
			||||||
    (home-page "https://cran.r-project.org/web/packages/AdaptiveSparsity")
 | 
					 | 
				
			||||||
    (synopsis "Adaptive sparsity models")
 | 
					 | 
				
			||||||
    (description
 | 
					 | 
				
			||||||
     "This package implements the Figueiredo machine learning algorithm for
 | 
					 | 
				
			||||||
adaptive sparsity and the Wong algorithm for adaptively sparse gaussian
 | 
					 | 
				
			||||||
geometric models.")
 | 
					 | 
				
			||||||
    (license license:lgpl3+)))
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
(define-public gemmlowp-for-tensorflow
 | 
					(define-public gemmlowp-for-tensorflow
 | 
				
			||||||
  ;; The commit hash is taken from "tensorflow/workspace.bzl".
 | 
					  ;; The commit hash is taken from "tensorflow/workspace.bzl".
 | 
				
			||||||
  (let ((commit "38ebac7b059e84692f53e5938f97a9943c120d98")
 | 
					  (let ((commit "38ebac7b059e84692f53e5938f97a9943c120d98")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue