2 Commits

  1. 33
  2. 48
  3. 2


@ -152,6 +152,8 @@ times faster than a R/qtl linear model genome scan using 16 threads.")
(build-system julia-build-system)
`(#:tests? #f)) ; Test suite needs a copy of the Julia package repository.
`(("julia-example" ,julia-example)))
(home-page "https://github.com/JuliaLang/PackageCompiler.jl")
(synopsis "Compile your Julia Package")
(description "PackageCompiler is a Julia package with two main purposes:
@ -437,9 +439,9 @@ properties
@end enumerate")
(license license:expat)))
;; TODO: Unbundle extra assets? assets/html/
;; see also: js inputs: src/Writers/HTMLWriter.jl
;; latex inputs: src/Writers/LaTeXWriter.jl
;; ready to upstream!
;; By removing all the javascript and css downloads any HTML documentation
;; produced by this package will not be very useful.
(define-public julia-documenter
(name "julia-documenter")
@ -461,19 +463,25 @@ properties
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "src/Deps.jl"
(("pip install")
(string-append (assoc-ref inputs "python") "/bin/pip install")))
(string-append (assoc-ref inputs "python")
"/bin/pip install")))
(add-after 'unpack 'remove-javascript-downloads
(lambda _
(substitute* "src/Writers/HTMLWriter.jl"
(("cdnjs.cloudflare.com") "example.com"))
;; Removing the javascript downloads causes these tests fail.
(substitute* "test/examples/tests.jl"
((".*Main\\.examples_html_doc.*") "")
((".*Main\\.examples_html_mathjax3_doc.*") ""))
`(("julia-ansicoloredprinters" ,julia-ansicoloredprinters)
("julia-docstringextensions" ,julia-docstringextensions)
("julia-iocapture" ,julia-iocapture)
("julia-json" ,julia-json)))
("python" ,python-wrapper)
`(("python" ,python-wrapper)))
`(("git" ,(S "git-minimal"))
("julia-documentermarkdown" ,julia-documentermarkdown)
@ -510,11 +518,12 @@ properties
(substitute* '("assets/html/documenter.js"
(("https.*(min|css|js)$") ""))
(("cdnjs.cloudflare.com") "example.com"))
`(("julia-docstringextensions" ,julia-docstringextensions)
("julia-json" ,julia-json)))
(inputs `())
(native-inputs `())
(properties '((hidden? . #t)))))
@ -657,8 +666,8 @@ ANSI escape codes to another format.")
`(("julia-jllwrappers" ,julia-jllwrappers)))
(home-page "https://github.com/JuliaBinaryWrappers/libsass_jll.jl")
(synopsis "Julia wrapper for libsass")
(description "This package provides a wrapper for libsass It is an
autogenerated source package constructed using @code{BinaryBuilder.jl}. The
(description "This package provides a wrapper for libsass. It is an
autogenerated source package constructed using @code{BinaryBuilder.jl}. The
originating @code{build_tarballs.jl} script can be found on the community
build tree Yggdrasil.")
(license license:expat))))


@ -4,6 +4,7 @@
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix build-system copy)
#:use-module (guix build-system python)
#:use-module (gn packages databases)
#:use-module (gn packages python)
@ -11,6 +12,7 @@
#:use-module (past packages tls)
#:use-module (gnu packages compression)
#:use-module (gnu packages databases)
#:use-module (gnu packages elf)
#:use-module (gnu packages gcc)
#:use-module (gnu packages maths)
#:use-module (gnu packages python-xyz)
@ -388,6 +390,7 @@ for Python. The design goals are:
@end itemize")
(license license:gpl2+)))
;; It seems this isn't the correct DIRECT binary
(define-public python24-direct
(name "python24-direct")
@ -457,3 +460,48 @@ algorithm can be found in Gablonsky's
(license license:expat)))
; env IPFS_PATH=/export/ipfs/ ipfs add direct.so
; added QmYUZiuAP6DJeubu69JqvRWSsn53qCZCS3FkRWgTowtWkA direct.so
; penguin2:~/tmp$ env IPFS_PATH=/export/ipfs/ ipfs pin add QmYUZiuAP6DJeubu69JqvRWSsn53qCZCS3FkRWgTowtWkA
; pinned QmYUZiuAP6DJeubu69JqvRWSsn53qCZCS3FkRWgTowtWkA recursively
(define-public python24-direct-gn
(name "python24-direct-gn")
(version "GN")
(source (origin
(method url-fetch)
(uri "http://ipfs.genenetwork.org/ipfs/QmYUZiuAP6DJeubu69JqvRWSsn53qCZCS3FkRWgTowtWkA")
(file-name "direct.so")
(build-system copy-build-system)
'(("direct.so" "lib/python2.4/site-packages/"))
(modify-phases %standard-phases
(replace 'unpack
(lambda* (#:key inputs #:allow-other-keys)
(copy-file (assoc-ref inputs "source") "direct.so")
(add-after 'unpack 'patchelf
(lambda* (#:key inputs #:allow-other-keys)
;; Writable so we can use patchelf, executable so it is useful.
;; After installation the writable bit is stripped off.
(chmod "direct.so" #o777)
(invoke "patchelf"
(string-append (assoc-ref inputs "gcc:lib") "/lib")
`(("gcc:lib" ,gcc "lib")))
`(("patchelf" ,patchelf)))
(home-page "")
(synopsis "")
(description "")
(license #f)))


@ -158,7 +158,7 @@ location of a putative QTL.")
`(("python" ,python-2.4)
("httpd-with-mod-python" ,httpd22-with-mod-python)
("python-direct" ,python24-direct)
("python-direct" ,python24-direct-gn)
("python-htmlgen-GN1" ,python24-htmlgen-GN1)
("python-json-GN1" ,python24-json-GN1)
("python-mysqlclient" ,python24-mysqlclient)