Foreign packages in GNU Guix
Examples from Ruby gems, Python modules and R/CRAN
Pjotr Prins & David Thompson FOSDEM January 30th, 2016
UMC Utrecht/UTHSC GeneNetwork.org
Foreign packages in GNU Guix – p. 1
Foreign packages in GNU Guix Examples from Ruby gems, Python modules - - PowerPoint PPT Presentation
Foreign packages in GNU Guix Examples from Ruby gems, Python modules and R/CRAN Pjotr Prins & David Thompson FOSDEM January 30th, 2016 UMC Utrecht/UTHSC GeneNetwork.org Foreign packages in GNU Guix p. 1 GNU Guix What is it to me?
Pjotr Prins & David Thompson FOSDEM January 30th, 2016
UMC Utrecht/UTHSC GeneNetwork.org
Foreign packages in GNU Guix – p. 1
Foreign packages in GNU Guix – p. 2
Foreign packages in GNU Guix – p. 3
Foreign packages in GNU Guix – p. 4
Foreign packages in GNU Guix – p. 5
Foreign packages in GNU Guix – p. 6
ruby 2.2.4p230 (2015-12-16 revision 53155) [x86_64-linux]
gem install log4r ruby -e require ’log4r’
Foreign packages in GNU Guix – p. 7
Foreign packages in GNU Guix – p. 8
Foreign packages in GNU Guix – p. 9
Foreign packages in GNU Guix – p. 10
guix/build-system/ruby.scm - defines what a package
guix/build/ruby-build-system.scm - unpacks and builds the
guix/import/ruby.scm - automatically imports gems gnu/package/ruby.scm - contains Ruby and gems
Foreign packages in GNU Guix – p. 11
guix import gem log4r
(package (name "ruby-log4r") (version "1.1.10") (source (origin (method url-fetch) (uri (rubygems-uri "log4r" version)) (sha256 (base32 "0ri90q0frfmigkirqv5ihyrj59xm8pq5zcmf156cbdv4r4l2jicv")))) (build-system ruby-build-system) (synopsis "See also: http://logging.apache.org/log4j") blah, blah)
Foreign packages in GNU Guix – p. 12
guix package -i ruby-log4r
guix package - -search-paths
ruby -e require ’log4r’
Foreign packages in GNU Guix – p. 13
Foreign packages in GNU Guix – p. 14
guix package -A python guix package -i python2-parsedatetime
Foreign packages in GNU Guix – p. 15
Foreign packages in GNU Guix – p. 16
Foreign packages in GNU Guix – p. 17
Foreign packages in GNU Guix – p. 18
Foreign packages in GNU Guix – p. 19
Foreign packages in GNU Guix – p. 20
Foreign packages in GNU Guix – p. 21