summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/android.scm66
-rw-r--r--gnu/packages/aux-files/emacs/guix-emacs.el5
-rw-r--r--gnu/packages/bioinformatics.scm50
-rw-r--r--gnu/packages/bootloaders.scm15
-rw-r--r--gnu/packages/crates-io.scm1691
-rw-r--r--gnu/packages/emacs-xyz.scm131
-rw-r--r--gnu/packages/emacs.scm49
-rw-r--r--gnu/packages/engineering.scm296
-rw-r--r--gnu/packages/firmware.scm12
-rw-r--r--gnu/packages/freedesktop.scm43
-rw-r--r--gnu/packages/gnome-xyz.scm159
-rw-r--r--gnu/packages/gnuzilla.scm18
-rw-r--r--gnu/packages/guile-xyz.scm36
-rw-r--r--gnu/packages/haskell-apps.scm4
-rw-r--r--gnu/packages/linux.scm30
-rw-r--r--gnu/packages/mail.scm2
-rw-r--r--gnu/packages/package-management.scm6
-rw-r--r--gnu/packages/python-xyz.scm4
-rw-r--r--gnu/packages/terminals.scm182
-rw-r--r--gnu/packages/tls.scm4
-rw-r--r--gnu/packages/web.scm69
21 files changed, 2481 insertions, 391 deletions
diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm
index ba883f1ff9..17f5f41fcb 100644
--- a/gnu/packages/android.scm
+++ b/gnu/packages/android.scm
@@ -717,7 +717,7 @@ to be passed to the @code{udev} service.")
(define-public git-repo
(package
(name "git-repo")
- (version "2.3")
+ (version "2.4.1")
(source
(origin
(method git-fetch)
@@ -726,7 +726,7 @@ to be passed to the @code{udev} service.")
(commit (string-append "v" version))))
(file-name (string-append "git-repo-" version "-checkout"))
(sha256
- (base32 "0jrll0mjfwakyjvlhbxwsdi32jhgss9mwz8c8h24n1qbqqxysrk4"))))
+ (base32 "0khg1731927gvin73dcbw1657kbfq4k7agla5rpzqcnwkk5agzg3"))))
(build-system python-build-system)
(arguments
`(#:phases
@@ -735,47 +735,48 @@ to be passed to the @code{udev} service.")
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(git (assoc-ref inputs "git"))
- (gpg (assoc-ref inputs "gnupg"))
(ssh (assoc-ref inputs "ssh")))
(substitute* '("repo" "git_command.py")
(("^GIT = 'git'")
(string-append "GIT = '" git "/bin/git'")))
- (substitute* "repo"
- ((" cmd = \\['gpg',")
- (string-append " cmd = ['" gpg "/bin/gpg',")))
(substitute* "git_config.py"
((" command_base = \\['ssh',")
(string-append " command_base = ['" ssh "/bin/ssh',")))
#t)))
- (add-before 'build 'do-not-clone-this-source
+ (add-before 'build 'do-not-self-update
(lambda* (#:key outputs #:allow-other-keys)
+ ;; Setting the REPO_MAIN variable to an absolute file name is
+ ;; enough to have _FindRepo return the store main.py file. The
+ ;; self update mechanism is activated with the call to _Init() in
+ ;; main(), so we bypass it.
+
+ ;; Ticket requesting upstream to provide a mean to disable the
+ ;; self update mechanism:
+ ;; https://bugs.chromium.org/p/gerrit/issues/detail?id=12407.
(let* ((out (assoc-ref outputs "out"))
- (repo-dir (string-append out "/share/" ,name)))
+ (repo-main (string-append out "/share/git-repo/main.py")))
(substitute* "repo"
- (("^def _FindRepo\\(\\):.*")
- (format #f "
-def _FindRepo():
- '''Look for a repo installation, starting at the current directory.'''
- # Use the installed version of git-repo.
- repo_main = '~a/main.py'
- curdir = os.getcwd()
- olddir = None
- while curdir != '/' and curdir != olddir:
- dot_repo = os.path.join(curdir, repodir)
- if os.path.isdir(dot_repo):
- return (repo_main, dot_repo)
- else:
- olddir = curdir
- curdir = os.path.dirname(curdir)
- return None, ''
-
- # The remaining of this function is dead code. It was used to
- # find a git-checked-out version in the local project.\n" repo-dir))
- ;; Neither clone, check out, nor verify the git repository
- (("(^\\s+)_Clone\\(.*\\)") "")
- (("(^\\s+)_Checkout\\(.*\\)") "")
- ((" rev = _Verify\\(.*\\)") " rev = None"))
- #t)))
+ (("^REPO_MAIN = .*")
+ (format #f "REPO_MAIN = ~s~%" repo-main))
+ ((" _Init\\(args, gitc_init=\\(cmd ==.*" all)
+ (string-append "True #" all)))
+ ;; Prevent repo from trying to git describe its version from
+ ;; the (disabled) self updated copy.
+ (substitute* "git_command.py"
+ (("ver = getattr\\(RepoSourceVersion.*")
+ (format #f "ver = ~s~%" ,version)))
+ (substitute* "subcmds/version.py"
+ (("rp_ver = .*")
+ (format #f "rp_ver = ~s~%" ,version)))
+ ;; Prevent repo from adding its (disabled) self update copy to
+ ;; the list of projects to fetch when using 'repo sync'.
+ (substitute* "subcmds/sync.py"
+ (("to_fetch\\.extend\\(all_projects\\).*" all)
+ (string-append "#" all))
+ (("self\\._Fetch\\(to_fetch")
+ "self._Fetch(all_projects")
+ (("_PostRepoFetch\\(rp, opt\\.repo_verify).*" all)
+ (string-append "#" all))))))
(delete 'build) ; nothing to build
(add-before 'check 'configure-git
(lambda _
@@ -800,7 +801,6 @@ def _FindRepo():
(inputs
;; TODO: Add git-remote-persistent-https once it is available in guix
`(("git" ,git)
- ("gnupg" ,gnupg)
("ssh" ,openssh)))
(native-inputs
`(("pytest" ,python-pytest)))
diff --git a/gnu/packages/aux-files/emacs/guix-emacs.el b/gnu/packages/aux-files/emacs/guix-emacs.el
index 05fc9709b6..25a87ee52d 100644
--- a/gnu/packages/aux-files/emacs/guix-emacs.el
+++ b/gnu/packages/aux-files/emacs/guix-emacs.el
@@ -35,8 +35,9 @@
"Return a list of Emacs 'autoloads' files in DIRECTORY.
The files in the list do not have extensions (.el, .elc)."
;; `directory-files' doesn't honor group in regexp.
- (mapcar #'file-name-sans-extension
- (directory-files directory 'full-name guix-emacs-autoloads-regexp)))
+ (delete-dups (mapcar #'file-name-sans-extension
+ (directory-files directory 'full-name
+ guix-emacs-autoloads-regexp))))
;;;###autoload
(defun guix-emacs-autoload-packages ()
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 8ed13b22e5..3df146c40d 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -410,7 +410,7 @@ computational cluster.")
(define-public bedtools
(package
(name "bedtools")
- (version "2.27.1")
+ (version "2.29.2")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/arq5x/bedtools2/releases/"
@@ -418,7 +418,7 @@ computational cluster.")
"bedtools-" version ".tar.gz"))
(sha256
(base32
- "1ndg5yknrxl4djx8ddzgk12rrbiidfpmkkg5z3f95jzryfxarhn8"))))
+ "0m3hk6548846w83a9s5drsczvy67n2azx41kj71n03klb2gbzwg3"))))
(build-system gnu-build-system)
(arguments
'(#:test-target "test"
@@ -427,7 +427,8 @@ computational cluster.")
#:phases
(modify-phases %standard-phases
(delete 'configure))))
- (native-inputs `(("python" ,python-2)))
+ (native-inputs
+ `(("python" ,python-wrapper)))
(inputs
`(("samtools" ,samtools)
("zlib" ,zlib)))
@@ -440,7 +441,7 @@ genome arithmetic: that is, set theory on the genome. For example, bedtools
allows one to intersect, merge, count, complement, and shuffle genomic
intervals from multiple files in widely-used genomic file formats such as BAM,
BED, GFF/GTF, VCF.")
- (license license:gpl2)))
+ (license license:expat)))
;; Later releases of bedtools produce files with more columns than
;; what Ribotaper expects.
@@ -5306,7 +5307,7 @@ BAM and Wiggle files in both transcript-coordinate and genomic-coordinate.")
(define-public rseqc
(package
(name "rseqc")
- (version "2.6.1")
+ (version "3.0.1")
(source
(origin
(method url-fetch)
@@ -5314,28 +5315,18 @@ BAM and Wiggle files in both transcript-coordinate and genomic-coordinate.")
(string-append "mirror://sourceforge/rseqc/"
"RSeQC-" version ".tar.gz"))
(sha256
- (base32 "15ly0254yi032qzkdplg00q144qfdsd986gh62829rl5bkxhj330"))
- (modules '((guix build utils)))
- (snippet
- '(begin
- ;; remove bundled copy of pysam
- (delete-file-recursively "lib/pysam")
- (substitute* "setup.py"
- ;; remove dependency on outdated "distribute" module
- (("^from distribute_setup import use_setuptools") "")
- (("^use_setuptools\\(\\)") "")
- ;; do not use bundled copy of pysam
- (("^have_pysam = False") "have_pysam = True"))
- #t))))
+ (base32
+ "0gbb9iyb7swiv5455fm5rg98r7l6qn27v564yllqjd574hncpx6m"))))
(build-system python-build-system)
- (arguments `(#:python ,python-2))
(inputs
- `(("python-cython" ,python2-cython)
- ("python-pysam" ,python2-pysam)
- ("python-numpy" ,python2-numpy)
+ `(("python-cython" ,python-cython)
+ ("python-bx-python" ,python-bx-python)
+ ("python-pybigwig" ,python-pybigwig)
+ ("python-pysam" ,python-pysam)
+ ("python-numpy" ,python-numpy)
("zlib" ,zlib)))
(native-inputs
- `(("python-nose" ,python2-nose)))
+ `(("python-nose" ,python-nose)))
(home-page "http://rseqc.sourceforge.net/")
(synopsis "RNA-seq quality control package")
(description
@@ -6581,7 +6572,7 @@ profiles, and associated taxonomic information.")
(define-public vcftools
(package
(name "vcftools")
- (version "0.1.15")
+ (version "0.1.16")
(source (origin
(method url-fetch)
(uri (string-append
@@ -6589,7 +6580,7 @@ profiles, and associated taxonomic information.")
version "/vcftools-" version ".tar.gz"))
(sha256
(base32
- "1qw30c45wihgy632rbz4rh3njnwj4msj46l1rsgdhyg6bgypmr1i"))))
+ "1qqlx7flfv7axrjwkaz6njkscsl1d0jw98ns8d8bh1n1hd1pgz6v"))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f ; no "check" target
@@ -6617,17 +6608,18 @@ data in the form of VCF files.")
(define-public infernal
(package
(name "infernal")
- (version "1.1.2")
+ (version "1.1.3")
(source (origin
(method url-fetch)
(uri (string-append "http://eddylab.org/software/infernal/"
"infernal-" version ".tar.gz"))
(sha256
(base32
- "0sr2hiz3qxfwqpz3whxr6n82p3x27336v3f34iqznp10hks2935c"))))
+ "0pm8bm3s6nfa0av4x6m6h27lsg12b3lz3jm0fyh1mc77l2isd61v"))))
(build-system gnu-build-system)
(native-inputs
- `(("perl" ,perl))) ; for tests
+ `(("perl" ,perl)
+ ("python" ,python))) ; for tests
(home-page "http://eddylab.org/infernal/")
(synopsis "Inference of RNA alignments")
(description "Infernal (\"INFERence of RNA ALignment\") is a tool for
@@ -6638,7 +6630,7 @@ profile, but it scores a combination of sequence consensus and RNA secondary
structure consensus, so in many cases, it is more capable of identifying RNA
homologs that conserve their secondary structure more than their primary
sequence.")
- ;; Infernal 1.1.2 requires VMX or SSE capability for parallel instructions.
+ ;; Infernal 1.1.3 requires VMX or SSE capability for parallel instructions.
(supported-systems '("i686-linux" "x86_64-linux"))
(license license:bsd-3)))
diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm
index 63a88dd7ec..770647935a 100644
--- a/gnu/packages/bootloaders.scm
+++ b/gnu/packages/bootloaders.scm
@@ -670,7 +670,20 @@ it fits within common partitioning schemes.")
(make-u-boot-sunxi64-package "pine64-lts" "aarch64-linux-gnu"))
(define-public u-boot-pinebook
- (make-u-boot-sunxi64-package "pinebook" "aarch64-linux-gnu"))
+ (let ((base (make-u-boot-sunxi64-package "pinebook" "aarch64-linux-gnu")))
+ (package
+ (inherit base)
+ (arguments
+ (substitute-keyword-arguments (package-arguments base)
+ ((#:phases phases)
+ `(modify-phases ,phases
+ (add-after 'unpack 'patch-pinebook-config
+ ;; Fix regression with LCD video output introduced in 2020.01
+ ;; https://patchwork.ozlabs.org/patch/1225130/
+ (lambda _
+ (substitute* "configs/pinebook_defconfig"
+ (("CONFIG_VIDEO_BRIDGE_ANALOGIX_ANX6345=y") "CONFIG_VIDEO_BRIDGE_ANALOGIX_ANX6345=y\nCONFIG_VIDEO_BPP32=y"))
+ #t)))))))))
(define-public u-boot-bananapi-m2-ultra
(make-u-boot-package "Bananapi_M2_Ultra" "arm-linux-gnueabihf"))
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5b5c36525c..f50b6daf4d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30,6 +30,7 @@
#:use-module (gnu packages)
#:use-module (gnu packages compression)
#:use-module (gnu packages fontutils)
+ #:use-module (gnu packages freedesktop)
#:use-module (gnu packages jemalloc)
#:use-module (gnu packages llvm)
#:use-module (gnu packages pcre)
@@ -216,6 +217,39 @@ Rust, using gimli.")
("rust-rand" ,rust-rand-0.3)
("rust-rustc-serialize" ,rust-rustc-serialize-0.3))))))
+(define-public rust-andrew-0.2
+ (package
+ (name "rust-andrew")
+ (version "0.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "andrew" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0pmklwcwy8g1jras46fz8xcny779zfqpg4riksrbdhkjk3w0jzwv"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-line-drawing" ,rust-line-drawing-0.7)
+ ("rust-rusttype" ,rust-rusttype-0.7)
+ ("rust-walkdir" ,rust-walkdir-2.2)
+ ("rust-xdg" ,rust-xdg-2.2)
+ ("rust-xml-rs" ,rust-xml-rs-0.8))
+ #:cargo-development-inputs
+ (("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.4))))
+ (inputs
+ `(("wayland" ,wayland)))
+ (home-page "https://github.com/trimental/andrew")
+ (synopsis "Provides convenient drawing of objects to buffers")
+ (description
+ "The @code{andrew} crate provides convenient drawing of objects such as
+shapes, lines and text to buffers.")
+ (license license:expat)))
+
(define-public rust-android-glue-0.2
(package
(name "rust-android-glue")
@@ -2357,6 +2391,50 @@ CMAKE environmental variable is set.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-cocoa-0.19
+ (package
+ (name "rust-cocoa")
+ (version "0.19.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cocoa" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0034vahbfv574q4b63rj241b8rnka5cjiqsqc6wiggnin9l7g7zj"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t ; only for macOS
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-block" ,rust-block-0.1)
+ ("rust-core-foundation" ,rust-core-foundation-0.6)
+ ("rust-core-graphics" ,rust-core-graphics-0.17)
+ ("rust-foreign-types" ,rust-foreign-types-0.3)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-objc" ,rust-objc-0.2))))
+ (home-page "https://github.com/servo/core-foundation-rs")
+ (synopsis "Bindings to Cocoa for macOS")
+ (description "Bindings to Cocoa for macOS.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-cocoa-0.18
+ (package
+ (inherit rust-cocoa-0.19)
+ (name "rust-cocoa")
+ (version "0.18.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cocoa" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0m6fgdr4d2fp8jhkqvwr23hrqqqjv72g0j9vdgijc58k05j9j1hp"))))))
+
(define-public rust-color-quant-1.0
(package
(name "rust-color-quant")
@@ -2546,6 +2624,31 @@ harness.")
that logs panics to @code{console.error}.")
(license (list license:expat license:asl2.0))))
+(define-public rust-console-log-0.1
+ (package
+ (name "rust-console-log")
+ (version "0.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "console-log" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0j1wd2885m3245bhsb2qjvw08lzplbi1rgg2v3yv0hbljk972y0y"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-log" ,rust-log-0.4)
+ ("rust-web-sys" ,rust-web-sys-0.3))))
+ (home-page "https://github.com/iamcodemaker/console_log")
+ (synopsis "Route Rust log messages to the browser's console")
+ (description
+ "This package provides a logging facility that routes Rust log messages to
+the browser's console.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-constant-time-eq-0.1
(package
(name "rust-constant-time-eq")
@@ -2626,6 +2729,34 @@ semantics than those provided by @code{as} or @code{From}/@code{Into}.")
intrinsics.")
(license (list license:expat license:asl2.0))))
+(define-public rust-core-foundation-0.6
+ (package
+ (name "rust-core-foundation")
+ (version "0.6.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "core-foundation" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0va97wf49c8dzm9c8pgyk1jn7z21rl0bj1syf2zz5m2z2hzy1f95"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t ; only for macOS
+ #:cargo-inputs
+ (("rust-chrono" ,rust-chrono-0.4)
+ ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.6)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-uuid" ,rust-uuid-0.5))))
+ (home-page "https://github.com/servo/core-foundation-rs")
+ (synopsis
+ "Bindings to Core Foundation for macOS")
+ (description
+ "Bindings to Core Foundation for macOS.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-core-foundation-sys-0.6
(package
(name "rust-core-foundation-sys")
@@ -2647,6 +2778,90 @@ intrinsics.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-core-graphics-0.17
+ (package
+ (name "rust-core-graphics")
+ (version "0.17.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "core-graphics" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1acm3vygngnilzlr6klym5ywh7kfzh2xxrh2l41152hwmdl0jyan"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t ; only for macOS
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-core-foundation" ,rust-core-foundation-0.6)
+ ("rust-foreign-types" ,rust-foreign-types-0.3)
+ ("rust-libc" ,rust-libc-0.2))))
+ (home-page "https://github.com/servo/core-graphics-rs")
+ (synopsis "Bindings to Core Graphics for macOS")
+ (description
+ "Bindings to Core Graphics for macOS.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-core-text-13
+ (package
+ (name "rust-core-text")
+ (version "13.3.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "core-text" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0v9lxn277p39cf81pb45r7k0lzf17pwgd5cpry1c04ajv556b16v"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t ; only for macOS
+ #:cargo-inputs
+ (("rust-core-foundation" ,rust-core-foundation-0.6)
+ ("rust-core-graphics" ,rust-core-graphics-0.17)
+ ("rust-foreign-types" ,rust-foreign-types-0.3)
+ ("rust-libc" ,rust-libc-0.2))))
+ (home-page "https://github.com/servo/core-foundation-rs")
+ (synopsis "Bindings to the Core Text framework")
+ (description
+ "Bindings to the Core Text framework.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-core-video-sys-0.1
+ (package
+ (name "rust-core-video-sys")
+ (version "0.1.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "core-video-sys" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1l59cg88482hkl95ssb30ac9x65hpbdsmxz9s5r6y222jlhnbh4d"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t ; only for macOS
+ #:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if-0.1)
+ ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.6)
+ ("rust-core-graphics" ,rust-core-graphics-0.17)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-metal" ,rust-metal-0.14)
+ ("rust-objc" ,rust-objc-0.2))))
+ (home-page "https://github.com/luozijun/rust-core-video-sys")
+ (synopsis
+ "Bindings to CoreVideo.framework for macOS and iOS")
+ (description
+ "Bindings to CoreVideo.framework for macOS and iOS.")
+ (license license:expat)))
+
(define-public rust-crates-index-0.13
(package
(name "rust-crates-index")
@@ -5782,9 +5997,8 @@ archive to be linked into Rustcode.")
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-winapi" ,rust-winapi-0.2))
- #:cargo-development-inputs
- (("rust-winapi-build" ,rust-winapi-build-0.1))))
+ (("rust-winapi" ,rust-winapi-0.2)
+ ("rust-winapi-build" ,rust-winapi-build-0.1))))
(home-page "https://github.com/retep998/winapi-rs")
(synopsis "Function definitions for the Windows API library gdi32")
(description "This package contains function definitions for the Windows
@@ -6135,6 +6349,44 @@ reading and writing git repositories.")
"Generated OpenGL bindings and wrapper for Servo.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-glium-0.25
+ (package
+ (name "rust-glium")
+ (version "0.25.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "glium" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0mhjly07x10lxg802ppg16wbxddhh4fdnlg10i99qwpfamvqhzbd"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-backtrace" ,rust-backtrace-0.3)
+ ("rust-fnv" ,rust-fnv-1.0)
+ ("rust-glutin" ,rust-glutin-0.21)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-smallvec" ,rust-smallvec-0.6)
+ ("rust-takeable-option" ,rust-takeable-option-0.4))
+ #:cargo-development-inputs
+ (("rust-cgmath" ,rust-cgmath-0.17)
+ ("rust-genmesh" ,rust-genmesh-0.6)
+ ("rust-gl-generator" ,rust-gl-generator-0.11)
+ ("rust-image" ,rust-image-0.21)
+ ("rust-obj" ,rust-obj-0.9)
+ ("rust-rand" ,rust-rand-0.6))))
+ (home-page "https://github.com/glium/glium")
+ (synopsis
+ "OpenGL wrapper")
+ (description
+ "Glium is an intermediate layer between OpenGL and your application. You
+still need to manually handle the graphics pipeline, but without having to use
+OpenGL's old and error-prone API.")
+ (license license:asl2.0)))
+
(define-public rust-glob-0.3
(package
(name "rust-glob")
@@ -6208,6 +6460,106 @@ the process of matching one or more glob patterns against a single candidate
path simultaneously, and returning all of the globs that matched.")
(license (list license:expat license:unlicense))))
+(define-public rust-glutin-0.22
+ (package
+ (name "rust-glutin")
+ (version "0.22.0-alpha5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "glutin" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0lilr4f335m1fq1acmshd51zblfaglw1hha6lhalnc1fw3cg0aag"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-android-glue" ,rust-android-glue-0.2)
+ ("rust-cgl" ,rust-cgl-0.3)
+ ("rust-cocoa" ,rust-cocoa-0.19)
+ ("rust-core-foundation" ,rust-core-foundation-0.6)
+ ("rust-core-graphics" ,rust-core-graphics-0.17)
+ ("rust-glutin-egl-sys" ,rust-glutin-egl-sys-0.1)
+ ("rust-glutin-emscripten-sys" ,rust-glutin-emscripten-sys-0.1)
+ ("rust-glutin-gles2-sys" ,rust-glutin-gles2-sys-0.1)
+ ("rust-glutin-glx-sys" ,rust-glutin-glx-sys-0.1)
+ ("rust-glutin-wgl-sys" ,rust-glutin-wgl-sys-0.1)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libloading" ,rust-libloading-0.5)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-objc" ,rust-objc-0.2)
+ ("rust-osmesa-sys" ,rust-osmesa-sys-0.1)
+ ("rust-parking-lot" ,rust-parking-lot-0.9)
+ ("rust-wayland-client" ,rust-wayland-client-0.23)
+ ("rust-winapi" ,rust-winapi-0.3)
+ ("rust-winit" ,rust-winit-0.20))))
+ (home-page "https://github.com/tomaka/glutin")
+ (synopsis
+ "Cross-platform OpenGL context provider")
+ (description
+ "Cross-platform OpenGL context provider.")
+ (license license:asl2.0)))
+
+(define-public rust-glutin-0.21
+ (package
+ (inherit rust-glutin-0.22)
+ (name "rust-glutin")
+ (version "0.21.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "glutin" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1ggyyqn7dvz4yx5ygqfvnxwfb78wvdm5y6xqw5my1b4x61dv6wak"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-android-glue" ,rust-android-glue-0.2)
+ ("rust-cgl" ,rust-cgl-0.2)
+ ("rust-cocoa" ,rust-cocoa-0.18)
+ ("rust-core-foundation" ,rust-core-foundation-0.6)
+ ("rust-core-graphics" ,rust-core-graphics-0.17)
+ ("rust-glutin-egl-sys" ,rust-glutin-egl-sys-0.1)
+ ("rust-glutin-emscripten-sys" ,rust-glutin-emscripten-sys-0.1)
+ ("rust-glutin-gles2-sys" ,rust-glutin-gles2-sys-0.1)
+ ("rust-glutin-glx-sys" ,rust-glutin-glx-sys-0.1)
+ ("rust-glutin-wgl-sys" ,rust-glutin-wgl-sys-0.1)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libloading" ,rust-libloading-0.5)
+ ("rust-objc" ,rust-objc-0.2)
+ ("rust-osmesa-sys" ,rust-osmesa-sys-0.1)
+ ("rust-parking-lot" ,rust-parking-lot-0.9)
+ ("rust-wayland-client" ,rust-wayland-client-0.21)
+ ("rust-winapi" ,rust-winapi-0.3)
+ ("rust-winit" ,rust-winit-0.19))))))
+
+(define-public rust-glutin-egl-sys-0.1
+ (package
+ (name "rust-glutin-egl-sys")
+ (version "0.1.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "glutin-egl-sys" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0k1x1frdp4wp47qkai8zzmgqxzpfcn7780m29qgd92lbnbrxwbkp"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-winapi" ,rust-winapi-0.3)
+ ("rust-gl-generator" ,rust-gl-generator-0.13))))
+ (home-page "https://github.com/rust-windowing/glutin")
+ (synopsis "Egl bindings for glutin")
+ (description "The egl bindings for glutin.")
+ (license license:asl2.0)))
+
(define-public rust-glutin-emscripten-sys-0.1
(package
(name "rust-glutin-emscripten-sys")
@@ -6227,6 +6579,74 @@ path simultaneously, and returning all of the globs that matched.")
(description "The emscripten bindings for glutin.")
(license license:asl2.0)))
+(define-public rust-glutin-gles2-sys-0.1
+ (package
+ (name "rust-glutin-gles2-sys")
+ (version "0.1.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "glutin_gles2_sys" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1pswvl5zyqmqwzjr674yzslj0al2xbqsp2ai9ggb9qbshlq6r6c9"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-objc" ,rust-objc-0.2)
+ ("rust-gl-generator" ,rust-gl-generator-0.11))))
+ (home-page "https://github.com/tomaka/glutin")
+ (synopsis "The gles2 bindings for glutin")
+ (description "The gles2 bindings for glutin.")
+ (license license:asl2.0)))
+
+(define-public rust-glutin-glx-sys-0.1
+ (package
+ (name "rust-glutin-glx-sys")
+ (version "0.1.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "glutin-glx-sys" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0mxs3mil68xqqb49466n5rpwpcllj6fwqjgrcrzzmz26bv5ab40j"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-x11-dl" ,rust-x11-dl-2)
+ ("rust-gl-generator" ,rust-gl-generator-0.11))))
+ (home-page "https://github.com/tomaka/glutin")
+ (synopsis "Glx bindings for glutin")
+ (description "The glx bindings for glutin.")
+ (license license:asl2.0)))
+
+(define-public rust-glutin-wgl-sys-0.1
+ (package
+ (name "rust-glutin-wgl-sys")
+ (version "0.1.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "glutin-wgl-sys" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "08chlfzpj59q36qm212i4k879gvjzha7i90q90fds8pw3v4vn0gq"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-gl-generator" ,rust-gl-generator-0.11))))
+ (home-page "https://github.com/tomaka/glutin")
+ (synopsis "Wgl bindings for glutin")
+ (description "The wgl bindings for glutin.")
+ (license license:asl2.0)))
+
(define-public rust-goblin-0.0
(package
(name "rust-goblin")
@@ -6900,6 +7320,33 @@ compile time.")
requests and responses.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-http-req-0.5
+ (package
+ (name "rust-http-req")
+ (version "0.5.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "http_req" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0qaw43nwvvxbnqddxhb9fh9316dn64nmkzj08pq8n49qdy51xrys"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ ;; Haven't packaged rustls and webpki because of license
+ (("rust-native-tls" ,rust-native-tls-0.2)
+ ("rust-unicase" ,rust-unicase-2.4))))
+ (home-page "https://github.com/jayjamesjay/http_req")
+ (synopsis
+ "HTTP client with built-in HTTPS support")
+ (description
+ "Simple and lightweight HTTP client with built-in HTTPS support.")
+ (license license:expat)))
+
(define-public rust-httparse-1.3
(package
(name "rust-httparse")
@@ -7331,6 +7778,36 @@ in Rust.")
"This package provides a snapshot testing library for Rust.")
(license license:asl2.0)))
+(define-public rust-instant-0.1
+ (package
+ (name "rust-instant")
+ (version "0.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "instant" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1bwca9fr29a1pyimfl94q6m6k2l57ljw1hhhvjafzs1zkqlnqd3c"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-stdweb" ,rust-stdweb-0.4)
+ ("rust-time" ,rust-time-0.1)
+ ("rust-web-sys" ,rust-web-sys-0.3))
+ #:cargo-development-inputs
+ (("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.2))))
+ (home-page "https://github.com/sebcrozet/instant")
+ (synopsis
+ "Partial replacement for std::time::Instant that works on WASM too")
+ (description
+ "This package provides a partial replacement for @code{std::time::Instant}
+that works on WASM too.")
+ (license license:bsd-3)))
+
(define-public rust-intervaltree-0.2
(package
(name "rust-intervaltree")
@@ -7591,7 +8068,7 @@ primitives to an @code{io::Write}.")
(define-public rust-js-sys-0.3
(package
(name "rust-js-sys")
- (version "0.3.24")
+ (version "0.3.35")
(source
(origin
(method url-fetch)
@@ -7600,16 +8077,15 @@ primitives to an @code{io::Write}.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "045fgafggkjdfg4f33vb87silyl9xpbifrhx1ciqi4wvm90nzhga"))))
+ "1ybwazllkbif71i195dadgrsw64k6l04ggk5yimiy5c2cb1wg2bq"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2))
#:cargo-development-inputs
- (("rust-futures" ,rust-futures-0.1)
- ("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.3)
- ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.2))))
+ (("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4)
+ ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))
(home-page "https://rustwasm.github.io/wasm-bindgen/")
(synopsis "Bindings for all JS global objects and functions in WASM")
(description
@@ -8161,30 +8637,6 @@ functions and static variables these libraries contain.")
(base32
"16pc0gx4gkg0q2s1ssq8268brn14j8344623vwhadmivc4lsmivz"))))))
-(define-public rust-libressl-pnacl-sys-2
- (package
- (name "rust-libressl-pnacl-sys")
- (version "2.1.6")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "libressl-pnacl-sys" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "0w9yvgrf591phpr1222j0dj7x1n489v2sihnr8syz8xn3aamih6b"))))
- (build-system cargo-build-system)
- (arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-pnacl-build-helper" ,rust-pnacl-build-helper-1.4))))
- (home-page "https://github.com/DiamondLovesYou/libressl-pnacl-sys")
- (synopsis "Openssl linking provider for PNaCl/NaCl targets")
- (description
- "This package provides an openssl linking provider for PNaCl/NaCl targets.")
- (license license:expat)))
-
(define-public rust-libssh2-sys-0.2
(package
(name "rust-libssh2-sys")
@@ -8824,6 +9276,41 @@ for Rust structs.")
"1cvm2z7dy138s302ii7wlzcxbka5a8yfl5pl5di7lbdnw9hw578g"))))
(arguments `(#:skip-build? #t))))
+(define-public rust-metal-0.14
+ (package
+ (name "rust-metal")
+ (version "0.14.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "metal" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0my1xwlv562i80y3jbk0nygayi383j5skdwk48clb286b7922gyd"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-block" ,rust-block-0.1)
+ ("rust-cocoa" ,rust-cocoa-0.18)
+ ("rust-core-graphics" ,rust-core-graphics-0.17)
+ ("rust-foreign-types" ,rust-foreign-types-0.3)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-objc" ,rust-objc-0.2)
+ ("rust-objc-foundation" ,rust-objc-foundation-0.1)
+ ("rust-objc-id" ,rust-objc-id-0.1))
+ #:cargo-development-inputs
+ (("rust-sema" ,rust-sema-0.1)
+ ("rust-winit" ,rust-winit-0.19)))) ; 0.17?
+ (home-page "https://github.com/gfx-rs/metal-rs")
+ (synopsis "Rust bindings for Metal")
+ (description "Rust bindings for Metal.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-mime-0.3
(package
(name "rust-mime")
@@ -9224,6 +9711,52 @@ checking.")
IO of Windows's named pipes.")
(license (list license:expat license:asl2.0))))
+(define-public rust-native-tls-0.2
+ (package
+ (name "rust-native-tls")
+ (version "0.2.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "native-tls" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0ki7cj4wzyd2nach4qdjly69sp7rs0yz3n3z2ii4mm1gqajg2bab"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; tests require network access
+ #:cargo-inputs
+ (("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-openssl" ,rust-openssl-0.10)
+ ("rust-openssl-probe" ,rust-openssl-probe-0.1)
+ ("rust-openssl-sys" ,rust-openssl-sys-0.9)
+ ("rust-schannel" ,rust-schannel-0.1)
+ ("rust-security-framework" ,rust-security-framework-0.3)
+ ("rust-security-framework-sys" ,rust-security-framework-sys-0.3)
+ ("rust-tempfile" ,rust-tempfile-3.1))
+ #:cargo-development-inputs
+ (("rust-hex" ,rust-hex-0.3))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'find-openssl
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((openssl (assoc-ref inputs "openssl")))
+ (setenv "OPENSSL_DIR" openssl))
+ #t)))))
+ (native-inputs
+ `(("openssl" ,openssl)
+ ("pkg-config" ,pkg-config)))
+ (home-page "https://github.com/sfackler/rust-native-tls")
+ (synopsis
+ "Wrapper over a platform's native TLS implementation")
+ (description
+ "This package provides a wrapper over a platform's native TLS implementation.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-natord-1.0
(package
(name "rust-natord")
@@ -10357,6 +10890,44 @@ Things in odds may move to more appropriate crates if we find them.")
(description "OpenSSL bindings.")
(license license:asl2.0)))
+(define-public rust-openssl-0.7
+ (package
+ (inherit rust-openssl-0.10)
+ (name "rust-openssl")
+ (version "0.7.14")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "openssl" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0cw767rbasg4dbsfcsnxqm3q5ljkv6s1jq0a2p82xi5a8ii7n4f4"))))
+ (arguments
+ `(#:tests? #f ; Test directory not included in release
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-0.7)
+ ("rust-gcc" ,rust-gcc-0.3)
+ ("rust-lazy-static" ,rust-lazy-static-0.2)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-openssl-sys" ,rust-openssl-sys-0.7)
+ ("rust-openssl-sys-extras" ,rust-openssl-sys-extras-0.7))
+ #:cargo-development-inputs
+ (("rust-net2" ,rust-net2-0.2)
+ ("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
+ ("rust-winapi" ,rust-winapi-0.2)
+ ("rust-ws2-32-sys" ,rust-ws2-32-sys-0.2))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-cargo-toml
+ (lambda _
+ (substitute* "Cargo.toml"
+ ((", path =.*}") "}"))
+ #t)))))
+ (native-inputs
+ `(("openssl" ,openssl-1.0))))) ; for openssl-sys-extras
+
(define-public rust-openssl-probe-0.1
(package
(name "rust-openssl-probe")
@@ -10415,6 +10986,77 @@ system for OpenSSL.")
"This package provides FFI bindings to OpenSSL for use in rust crates.")
(license license:expat)))
+(define-public rust-openssl-sys-0.7
+ (package
+ (inherit rust-openssl-sys-0.9)
+ (name "rust-openssl-sys")
+ (version "0.7.17")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "openssl-sys" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0gswbbfkhhj8f9jifwvdssv3p2lpgyz69qzqvafylbim9klpxi49"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; rust-libressl-pnacl-sys vendors libressl.
+ (substitute* "Cargo.toml"
+ ((".*nacl.*") ""))
+ #t))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-gdi32-sys" ,rust-gdi32-sys-0.2)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-user32-sys" ,rust-user32-sys-0.2)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'find-openssl
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((openssl (assoc-ref inputs "openssl")))
+ (setenv "OPENSSL_DIR" openssl))
+ #t)))))))
+
+(define-public rust-openssl-sys-extras-0.7
+ (package
+ (name "rust-openssl-sys-extras")
+ (version "0.7.14")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "openssl-sys-extras" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1ymrmfnknyjji74fflbnnq9r5ihx25h0vgs5y203vl6klzdy3i8i"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-openssl-sys" ,rust-openssl-sys-0.7)
+ ("rust-gcc" ,rust-gcc-0.3))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-cargo-toml
+ (lambda _
+ (substitute* "Cargo.toml"
+ ((", path =.*}") "}"))
+ #t)))))
+ (native-inputs
+ `(("openssl" ,openssl-1.0))) ; openssl-1.0 specifically
+ (home-page "https://github.com/sfackler/rust-openssl")
+ (synopsis
+ "Extra FFI bindings to OpenSSL that require a C shim")
+ (description
+ "Extra FFI bindings to OpenSSL that require a C shim.")
+ (license license:expat)))
+
(define-public rust-ordered-float-1.0
(package
(name "rust-ordered-float")
@@ -13820,6 +14462,32 @@ It also provides an implementation of a dynamic GPU glyph cache for hardware
font rendering.")
(license (list license:expat license:asl2.0))))
+(define-public rust-rusttype-0.7
+ (package
+ (inherit rust-rusttype-0.8)
+ (name "rust-rusttype")
+ (version "0.7.9")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rusttype" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1m9ms4p94cgif74y1rzkj04rx8i1la193c0jgvnip61rd904429i"))))
+ (arguments
+ `(#:tests? #f ; Artifacts for tests not included.
+ #:cargo-inputs
+ (("rust-rusttype" ,rust-rusttype-0.8))
+ #:cargo-development-inputs
+ (("rust-arrayvec" ,rust-arrayvec-0.4)
+ ("rust-blake2" ,rust-blake2-0.8)
+ ("rust-glium" ,rust-glium-0.25)
+ ("rust-image" ,rust-image-0.21)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-unicode-normalization" ,rust-unicode-normalization-0.1))))))
+
(define-public rust-rustversion-1.0
(package
(name "rust-rustversion")
@@ -14205,6 +14873,37 @@ Pwrite traits from the scroll crate.")
proven statistical guarantees.")
(license license:expat)))
+(define-public rust-security-framework-0.3
+ (package
+ (name "rust-security-framework")
+ (version "0.3.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "security-framework" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1pqn79cl9njnnhsmjvvphkzx8is5jhfd8bhxpllgvrgggjfl5wlf"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; Some test files not included in release.
+ #:cargo-inputs
+ (("rust-core-foundation" ,rust-core-foundation-0.6)
+ ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.6)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-security-framework-sys" ,rust-security-framework-sys-0.3))
+ #:cargo-development-inputs
+ (("rust-hex" ,rust-hex-0.4)
+ ("rust-tempdir" ,rust-tempdir-0.3))))
+ (home-page "https://lib.rs/crates/security_framework")
+ (synopsis
+ "Security.framework bindings for macOS and iOS")
+ (description
+ "Security.framework bindings for macOS and iOS.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-security-framework-sys-0.3
(package
(name "rust-security-framework-sys")
@@ -14969,6 +15668,34 @@ for the serde framework.")
"Minimal implementation of SHA1 for Rust.")
(license license:bsd-3)))
+(define-public rust-sha1-0.2
+ (package
+ (inherit rust-sha1-0.6)
+ (name "rust-sha1")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sha1" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0p09zfhd27z6yr5in07gfjcx345010rw51ivlcf14364x3hv2c6c"))))
+ (arguments
+ `(#:cargo-development-inputs
+ (("rust-openssl" ,rust-openssl-0.7)
+ ("rust-rand" ,rust-rand-0.3))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-cargo-toml
+ (lambda _
+ (substitute* "Cargo.toml"
+ ((", path =.*}") "}"))
+ #t)))))
+ (native-inputs
+ `(("openssl" ,openssl-1.0))))) ; for openssl-sys-extras
+
(define-public rust-sha1-asm-0.4
(package
(name "rust-sha1-asm")
@@ -15171,6 +15898,28 @@ CPUs, as well as raw interfaces to platform-specific instructions.
")
(license (list license:expat license:asl2.0))))
+(define-public rust-simd-0.1
+ (package
+ (inherit rust-simd-0.2)
+ (name "rust-simd")
+ (version "0.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "simd" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "08vhhz1w5m7amfp1d9lvfyyzl0jqjm82hrr7fb7afv3n5my89db3"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-serde" ,rust-serde-0.4)
+ ("rust-serde-macros" ,rust-serde-macros-0.4))
+ #:cargo-development-inputs
+ (("rust-cfg-if" ,rust-cfg-if-0.1))))))
+
(define-public rust-siphasher-0.2
(package
(name "rust-siphasher")
@@ -15313,6 +16062,99 @@ stack.")
#:cargo-development-inputs
(("rust-bincode" ,rust-bincode-1.1))))))
+(define-public rust-smithay-client-toolkit-0.6
+ (package
+ (name "rust-smithay-client-toolkit")
+ (version "0.6.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "smithay-client-toolkit" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0m20687zs36l6xak2s5k9s7qp78ly8xfjpbmrhacp7whfn4hx5lk"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-andrew" ,rust-andrew-0.2)
+ ("rust-bitflags" ,rust-bitflags-1)
+ ("rust-dlib" ,rust-dlib-0.4)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-memmap" ,rust-memmap-0.7)
+ ("rust-nix" ,rust-nix-0.14)
+ ("rust-wayland-client" ,rust-wayland-client-0.23)
+ ("rust-wayland-protocols" ,rust-wayland-protocols-0.23))
+ #:cargo-development-inputs
+ (("rust-byteorder" ,rust-byteorder-1.3)
+ ("rust-image" ,rust-image-0.21)
+ ("rust-wayland-client" ,rust-wayland-client-0.23))))
+ (home-page "https://github.com/smithay/client-toolkit")
+ (synopsis "Toolkit for making client wayland applications")
+ (description
+ "Toolkit for making client wayland applications.")
+ (license license:expat)))
+
+(define-public rust-smithay-client-toolkit-0.4
+ (package
+ (inherit rust-smithay-client-toolkit-0.6)
+ (name "rust-smithay-client-toolkit")
+ (version "0.4.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "smithay-client-toolkit" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1yj8yzd0lhqpsgq0x4iikl9a02q2hnkky81brk938alv0ibqrjrc"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-andrew" ,rust-andrew-0.2)
+ ("rust-bitflags" ,rust-bitflags-1)
+ ("rust-dlib" ,rust-dlib-0.4)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-memmap" ,rust-memmap-0.7)
+ ("rust-nix" ,rust-nix-0.14)
+ ("rust-wayland-client" ,rust-wayland-client-0.21)
+ ("rust-wayland-commons" ,rust-wayland-commons-0.21)
+ ("rust-wayland-protocols" ,rust-wayland-protocols-0.21))
+ #:cargo-development-inputs
+ (("rust-byteorder" ,rust-byteorder-1.3)
+ ("rust-image" ,rust-image-0.20)
+ ("rust-wayland-client" ,rust-wayland-client-0.21))))))
+
+(define-public rust-smithay-clipboard-0.3
+ (package
+ (name "rust-smithay-clipboard")
+ (version "0.3.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "smithay-clipboard" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1h7qhcx44cgwncgpn5llky0c56vgsg9mqrkybb2z37vsxxia4rwn"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-nix" ,rust-nix-0.14)
+ ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.6))
+ #:cargo-development-inputs
+ (("rust-andrew" ,rust-andrew-0.2))))
+ (inputs
+ `(("wayland" ,wayland)))
+ (home-page "https://github.com/smithay/smithay-clipboard")
+ (synopsis
+ "Provides access to the wayland clipboard for client applications")
+ (description
+ "This package provides access to the wayland clipboard for client applications.")
+ (license license:expat)))
+
(define-public rust-socket2-0.3
(package
(name "rust-socket2")
@@ -18394,6 +19236,58 @@ untrusted inputs in Rust.")
("rust-rustc-test" ,rust-rustc-test-0.3)
("rust-serde-json" ,rust-serde-json-1.0))))))
+(define-public rust-urlocator-0.1
+ (package
+ (name "rust-urlocator")
+ (version "0.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "urlocator" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1xzhwmqrqyk8p3s5npqpidrn0gjapqx5fshrx633fk56j7cm8qm1"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/chrisduerr/urlocator.git")
+ (synopsis "Locate URLs in character streams")
+ (description "Locate URLs in character streams.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-user32-sys-0.2
+ (package
+ (name "rust-user32-sys")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "user32-sys" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0ivxc7hmsxax9crdhxdd1nqwik4s9lhb2x59lc8b88bv20fp3x2f"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-winapi" ,rust-winapi-0.2))
+ #:cargo-development-inputs
+ (("rust-winapi-build" ,rust-winapi-build-0.1))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-cargo-toml
+ (lambda _
+ (substitute* "Cargo.toml"
+ ((", path =.*}") "}"))
+ #t)))))
+ (home-page "https://github.com/retep998/winapi-rs")
+ (synopsis "Function definitions for the Windows API library user32")
+ (description
+ "Contains function definitions for the Windows API library user32.
+See winapi for types and constants.")
+ (license license:expat)))
+
(define-public rust-users-0.9
(package
(name "rust-users")
@@ -18536,6 +19430,28 @@ Unix users and groups.")
"This package provides a library to generate and parse UUIDs.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-uuid-0.5
+ (package
+ (inherit rust-uuid-0.7)
+ (name "rust-uuid")
+ (version "0.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "uuid" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "08nw3famk1w1zf9ck32pmklk24wd4n4nqnr9wl46qvxak2wf7ixw"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-md5" ,rust-md5-0.3)
+ ("rust-rand" ,rust-rand-0.3)
+ ("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
+ ("rust-serde" ,rust-serde-1.0)
+ ("rust-sha1" ,rust-sha1-0.2))))))
+
(define-public rust-vcpkg-0.2
(package
(name "rust-vcpkg")
@@ -18845,7 +19761,7 @@ in Rust.")
(define-public rust-wasm-bindgen-0.2
(package
(name "rust-wasm-bindgen")
- (version "0.2.48")
+ (version "0.2.58")
(source
(origin
(method url-fetch)
@@ -18854,15 +19770,23 @@ in Rust.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0m8vq3jkhz04fn3wjvb7ii7xql60w32nlvr10jcskcbbh2hpzsad"))))
+ "0v31s91andxcj73w63g3fkbw3ld6cfsaa4135qcjna22vypyj1aj"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-serde" ,rust-serde-1.0)
- ("rust-serde-json" ,rust-serde-json-1.0)
- ("rust-wasm-bindgen-macro"
- ,rust-wasm-bindgen-macro-0.2))))
+ `(#:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if-0.1)
+ ("rust-serde" ,rust-serde-1.0)
+ ("rust-serde-json" ,rust-serde-json-1.0)
+ ("rust-wasm-bindgen-macro" ,rust-wasm-bindgen-macro-0.2))
+ #:cargo-development-inputs
+ (("rust-js-sys" ,rust-js-sys-0.3)
+ ("rust-serde-derive" ,rust-serde-derive-1.0)
+ ("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4)
+ ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)
+ ("rust-wasm-bindgen-test-crate-a"
+ ,rust-wasm-bindgen-test-crate-a-0.1)
+ ("rust-wasm-bindgen-test-crate-b"
+ ,rust-wasm-bindgen-test-crate-b-0.1))))
(home-page "https://rustwasm.github.io/")
(synopsis "Easy support for interacting between JS and Rust")
(description
@@ -18872,7 +19796,7 @@ in Rust.")
(define-public rust-wasm-bindgen-backend-0.2
(package
(name "rust-wasm-bindgen-backend")
- (version "0.2.48")
+ (version "0.2.58")
(source
(origin
(method url-fetch)
@@ -18881,17 +19805,16 @@ in Rust.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1qxqkbjkjg4pphhcr91nk95c0gizx77dyq24mmijqnwzxxqc30jx"))))
+ "0icskn0qlj30np6x6nbyl1i9dndckx0pczaq69dm42r92rcbkk8i"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-bumpalo" ,rust-bumpalo-2.5)
+ `(#:cargo-inputs
+ (("rust-bumpalo" ,rust-bumpalo-3)
("rust-lazy-static" ,rust-lazy-static-1)
("rust-log" ,rust-log-0.4)
- ("rust-proc-macro2" ,rust-proc-macro2-0.4)
+ ("rust-proc-macro2" ,rust-proc-macro2-1.0)
("rust-quote" ,rust-quote-1.0)
- ("rust-syn" ,rust-syn-0.15)
+ ("rust-syn" ,rust-syn-1.0)
("rust-wasm-bindgen-shared" ,rust-wasm-bindgen-shared-0.2))))
(home-page "https://rustwasm.github.io/wasm-bindgen/")
(synopsis "Backend code generation of the wasm-bindgen tool")
@@ -18899,8 +19822,40 @@ in Rust.")
"Backend code generation of the wasm-bindgen tool.")
(license (list license:expat license:asl2.0))))
+(define-public rust-wasm-bindgen-futures-0.4
+ (package
+ (name "rust-wasm-bindgen-futures")
+ (version "0.4.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wasm-bindgen-futures" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1n9ma4kinr4w6r2sh4wm04my6p14k1vx3a4vdbn0vd187sgd9gcb"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if-0.1)
+ ("rust-js-sys" ,rust-js-sys-0.3)
+ ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
+ ("rust-web-sys" ,rust-web-sys-0.3))
+ #:cargo-development-inputs
+ (("rust-futures-channel-preview" ,rust-futures-channel-preview-0.3)
+ ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))
+ (home-page "https://rustwasm.github.io/wasm-bindgen/")
+ (synopsis
+ "Bridging the gap between Rust Futures and JavaScript Promises")
+ (description
+ "Bridging the gap between Rust Futures and JavaScript Promises.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-wasm-bindgen-futures-0.3
(package
+ (inherit rust-wasm-bindgen-futures-0.4)
(name "rust-wasm-bindgen-futures")
(version "0.3.24")
(source
@@ -18912,7 +19867,6 @@ in Rust.")
(sha256
(base32
"0bf9x6qfjczspc4zs605z1n4j15cdd8kk2z7rah0yggw8b6zl5nc"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -18924,18 +19878,12 @@ in Rust.")
("rust-lazy-static" ,rust-lazy-static-1)
("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2))
#:cargo-development-inputs
- (("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.2))))
- (home-page "https://rustwasm.github.io/wasm-bindgen/")
- (synopsis
- "Bridging the gap between Rust Futures and JavaScript Promises")
- (description
- "Bridging the gap between Rust Futures and JavaScript Promises.")
- (license (list license:expat license:asl2.0))))
+ (("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.2))))))
(define-public rust-wasm-bindgen-macro-0.2
(package
(name "rust-wasm-bindgen-macro")
- (version "0.2.48")
+ (version "0.2.58")
(source
(origin
(method url-fetch)
@@ -18944,17 +19892,18 @@ in Rust.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "07fqzzlbncccmnxbbkg9v4n53qc1lps5g0bb9wq3i9zp9gvm0zgh"))))
+ "1hwxw0nhi2n4izhjn2fvnrrn59xqjxs3ybkgzdv1b4p65ivr8h2p"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
+ `(#:tests? #f ; 'Async blocks are unstable'
#:cargo-inputs
(("rust-quote" ,rust-quote-1.0)
("rust-wasm-bindgen-macro-support"
,rust-wasm-bindgen-macro-support-0.2))
#:cargo-development-inputs
(("rust-trybuild" ,rust-trybuild-1.0)
- ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2))))
+ ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
+ ("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4))))
(home-page "https://rustwasm.github.io/wasm-bindgen/")
(synopsis "Definition of the @code{#[wasm_bindgen]} attribute")
(description
@@ -18965,7 +19914,7 @@ dependency.")
(define-public rust-wasm-bindgen-macro-support-0.2
(package
(name "rust-wasm-bindgen-macro-support")
- (version "0.2.48")
+ (version "0.2.58")
(source
(origin
(method url-fetch)
@@ -18974,14 +19923,13 @@ dependency.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1mxi6rj11k67sks88pfqiqylnijxmb1s0gcgpj8mzfj5gvkqzkwm"))))
+ "0s3n7v741i4wkzib41m126li40qlhqyirnxpigkypsi59wsk2l78"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-proc-macro2" ,rust-proc-macro2-0.4)
+ `(#:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-1.0)
("rust-quote" ,rust-quote-1.0)
- ("rust-syn" ,rust-syn-0.15)
+ ("rust-syn" ,rust-syn-1.0)
("rust-wasm-bindgen-backend" ,rust-wasm-bindgen-backend-0.2)
("rust-wasm-bindgen-shared" ,rust-wasm-bindgen-shared-0.2))))
(home-page "https://rustwasm.github.io/wasm-bindgen/")
@@ -18994,7 +19942,7 @@ attribute that is not in the shared backend crate.")
(define-public rust-wasm-bindgen-shared-0.2
(package
(name "rust-wasm-bindgen-shared")
- (version "0.2.48")
+ (version "0.2.58")
(source
(origin
(method url-fetch)
@@ -19002,9 +19950,9 @@ attribute that is not in the shared backend crate.")
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
- "08rnfhjyk0f6liv8n4rdsvhx7r02glkhcbj2lp9lcbkbfpad9hnr"))))
+ "00cnbabf4k9bahb217vkilmjwqwzpwp112vlvgfw1x19r4gydrzm"))))
(build-system cargo-build-system)
- (arguments '(#:skip-build? #t))
+ ;(arguments '(#:skip-build? #t))
(home-page "https://rustwasm.github.io/wasm-bindgen/")
(synopsis "Shared support between wasm-bindgen and wasm-bindgen cli")
(description "This package provides shared support between
@@ -19012,8 +19960,39 @@ attribute that is not in the shared backend crate.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-wasm-bindgen-test-0.3
+ (package
+ (name "rust-wasm-bindgen-test")
+ (version "0.3.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wasm-bindgen-test" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0bn833hghwbcg9cqz1bx9biq271bc4jcbgn2nqk1fkf4ab1hxzcq"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-console-error-panic-hook" ,rust-console-error-panic-hook-0.1)
+ ("rust-js-sys" ,rust-js-sys-0.3)
+ ("rust-scoped-tls" ,rust-scoped-tls-1.0)
+ ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
+ ("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4)
+ ("rust-wasm-bindgen-test-macro" ,rust-wasm-bindgen-test-macro-0.3))))
+ (home-page "https://github.com/rustwasm/wasm-bindgen")
+ (synopsis
+ "Internal testing crate for wasm-bindgen")
+ (description
+ "Internal testing crate for wasm-bindgen.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-wasm-bindgen-test-0.2
(package
+ (inherit rust-wasm-bindgen-test-0.3)
(name "rust-wasm-bindgen-test")
(version "0.2.48")
(source
@@ -19025,7 +20004,6 @@ attribute that is not in the shared backend crate.")
(sha256
(base32
"0gwslc2sfkghzzb3r0gvd8i5rig2nlqgpl1rn43y2w4mr1ci494k"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -19035,17 +20013,85 @@ attribute that is not in the shared backend crate.")
("rust-scoped-tls" ,rust-scoped-tls-1.0)
("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.3)
- ("rust-wasm-bindgen-test-macro" ,rust-wasm-bindgen-test-macro-0.2))))
+ ("rust-wasm-bindgen-test-macro" ,rust-wasm-bindgen-test-macro-0.2))))))
+
+(define-public rust-wasm-bindgen-test-crate-a-0.1
+ (package
+ (name "rust-wasm-bindgen-test-crate-a")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wasm-bindgen-test-crate-a" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "06l9rcxykg2vnp706a6axchjp6lh9ym1awwyyxzmbkv410kqwvsp"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2))))
(home-page "https://github.com/rustwasm/wasm-bindgen")
- (synopsis "Internal testing crate for wasm-bindgen")
+ (synopsis "Internal test crate for wasm-bindgen")
(description
- "Internal testing crate for wasm-bindgen.")
+ "Internal test crate for wasm-bindgen.")
+ (license license:expat)))
+
+(define-public rust-wasm-bindgen-test-crate-b-0.1
+ (package
+ (name "rust-wasm-bindgen-test-crate-b")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wasm-bindgen-test-crate-b" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "16p3gx9vhngdf236zxx2qijqx5sq0lid25j8wy6j522ybxs4vbh8"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2))))
+ (home-page "https://github.com/rustwasm/wasm-bindgen")
+ (synopsis "Internal test crate for wasm-bindgen")
+ (description
+ "Internal test crate for wasm-bindgen.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-wasm-bindgen-test-macro-0.3
+ (package
+ (name "rust-wasm-bindgen-test-macro")
+ (version "0.3.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wasm-bindgen-test-macro" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0kybf3shpp8ysz4v4j259d7vad9kw5bs4i4dlfrs895bhdp7m0wp"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-1.0)
+ ("rust-quote" ,rust-quote-1.0))))
+ (home-page "https://github.com/rustwasm/wasm-bindgen")
+ (synopsis "Internal testing macro for wasm-bindgen")
+ (description
+ "This library contains the internal testing macro for wasm-bindgen.")
(license (list license:expat license:asl2.0))))
(define-public rust-wasm-bindgen-test-macro-0.2
(package
+ (inherit rust-wasm-bindgen-test-macro-0.3)
(name "rust-wasm-bindgen-test-macro")
- (version "0.2.48")
+ (version "0.2.50")
(source
(origin
(method url-fetch)
@@ -19053,19 +20099,402 @@ attribute that is not in the shared backend crate.")
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
- "0n28mr6vncf1k1qr2b5bvfxq4jvqkjdzq0z0ab6w2f5d6v8q3q3l"))))
+ "19bvmw8mqlwh6wkbzgs3cnlkywrv8q2kkqggz6y0p158930xm287"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-0.4)
+ ("rust-quote" ,rust-quote-0.6))))))
+
+(define-public rust-wasm-bindgen-webidl-0.2
+ (package
+ (name "rust-wasm-bindgen-webidl")
+ (version "0.2.58")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wasm-bindgen-webidl" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0pcpaw8w3xgfrg9y24ljrsl2bkidgdaaz3ka2bgk417wjc6jl0gg"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
+ (("rust-anyhow" ,rust-anyhow-1.0)
+ ("rust-heck" ,rust-heck-0.3)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-proc-macro2" ,rust-proc-macro2-1.0)
+ ("rust-quote" ,rust-quote-1.0)
+ ("rust-syn" ,rust-syn-1.0)
+ ("rust-wasm-bindgen-backend" ,rust-wasm-bindgen-backend-0.2)
+ ("rust-weedle" ,rust-weedle-0.10))))
+ (home-page "https://rustwasm.github.io/wasm-bindgen/")
+ (synopsis "Support for parsing WebIDL specific to wasm-bindgen")
+ (description
+ "Support for parsing WebIDL specific to wasm-bindgen.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-wayland-sys-0.23
+ (package
+ (name "rust-wayland-sys")
+ (version "0.23.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wayland-sys" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1x2qafvj8hd2x5qfaan2dfpw9amg0f5g9sqrkdy7qvbddsl8jknr"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-dlib" ,rust-dlib-0.4)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libc" ,rust-libc-0.2))))
+ (home-page "https://github.com/smithay/wayland-rs")
+ (synopsis "FFI bindings to the various libwayland-*.so libraries")
+ (description
+ "FFI bindings to the various libwayland-*.so libraries.
+You should only need this crate if you are working on custom wayland
+protocol extensions. Look at the crate wayland-client for usable bindings.")
+ (license license:expat)))
+
+(define-public rust-wayland-sys-0.21
+ (package
+ (inherit rust-wayland-sys-0.23)
+ (name "rust-wayland-sys")
+ (version "0.21.13")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wayland-sys" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0a0ndgkg98pvmkv44yya4f7mxzjaxylknqh64bpa05w0azyv02jj"))))))
+
+(define-public rust-wayland-client-0.23
+ (package
+ (name "rust-wayland-client")
+ (version "0.23.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wayland-client" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1nmw2kz70llc5mxwzg6bglnqy0qnyr9224zjmq9czazgw3mq045g"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-calloop" ,rust-calloop-0.4)
+ ("rust-downcast-rs" ,rust-downcast-rs-1.1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-mio" ,rust-mio-0.6)
+ ("rust-nix" ,rust-nix-0.14)
+ ("rust-wayland-commons" ,rust-wayland-commons-0.23)
+ ("rust-wayland-sys" ,rust-wayland-sys-0.23)
+ ("rust-wayland-scanner" ,rust-wayland-scanner-0.23))
+ #:cargo-development-inputs
+ (("rust-byteorder" ,rust-byteorder-1.3)
+ ("rust-tempfile" ,rust-tempfile-3.1))))
+ (home-page "https://github.com/smithay/wayland-rs")
+ (synopsis
+ "Rust bindings to the standard C implementation of the wayland protocol")
+ (description
+ "This package provides Rust bindings to the standard C implementation of
+the wayland protocol, client side.")
+ (license license:expat)))
+
+(define-public rust-wayland-client-0.21
+ (package
+ (inherit rust-wayland-client-0.23)
+ (name "rust-wayland-client")
+ (version "0.21.13")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wayland-client" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "04r7dy074hhdalsi1day482wvmczr40hg7qvrnzkgxpakrgkx5j9"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-calloop" ,rust-calloop-0.4)
+ ("rust-downcast-rs" ,rust-downcast-rs-1.1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-mio" ,rust-mio-0.6)
+ ("rust-nix" ,rust-nix-0.14)
+ ("rust-wayland-commons" ,rust-wayland-commons-0.21)
+ ("rust-wayland-sys" ,rust-wayland-sys-0.21)
+ ("rust-wayland-scanner" ,rust-wayland-scanner-0.21))
+ #:cargo-development-inputs
+ (("rust-byteorder" ,rust-byteorder-1.3)
+ ("rust-tempfile" ,rust-tempfile-3.1))))))
+
+(define-public rust-wayland-commons-0.23
+ (package
+ (name "rust-wayland-commons")
+ (version "0.23.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wayland-commons" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1nyvcs6xxxzqgh0wvc7z0fgi89bf3h9p4qrbf77bnfbwlb8v0rmv"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-nix" ,rust-nix-0.14)
+ ("rust-wayland-sys" ,rust-wayland-sys-0.23))))
+ (home-page "https://github.com/smithay/wayland-rs")
+ (synopsis
+ "Common types and structures used by wayland-client and wayland-server")
+ (description
+ "Common types and structures used by wayland-client and wayland-server.")
+ (license license:expat)))
+
+(define-public rust-wayland-commons-0.21
+ (package
+ (inherit rust-wayland-commons-0.23)
+ (name "rust-wayland-commons")
+ (version "0.21.13")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wayland-commons" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1v1jpcsnn6cwwy5ii5pdl58i6b9slmi8mn4my4fpwrlbfsb8ih20"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-nix" ,rust-nix-0.14)
+ ("rust-wayland-sys" ,rust-wayland-sys-0.21))))))
+
+(define-public rust-wayland-protocols-0.23
+ (package
+ (name "rust-wayland-protocols")
+ (version "0.23.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wayland-protocols" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1ygwbzqlnks5xzafka3c8ag6k92g2h6ygj2xsmvjfx2n6rj8dhkc"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-wayland-client" ,rust-wayland-client-0.23)
+ ("rust-wayland-commons" ,rust-wayland-commons-0.23)
+ ("rust-wayland-server" ,rust-wayland-server-0.23)
+ ("rust-wayland-scanner" ,rust-wayland-scanner-0.23))))
+ (home-page "https://github.com/smithay/wayland-rs")
+ (synopsis
+ "Generated API for the officials wayland protocol extensions")
+ (description
+ "Generated API for the officials wayland protocol extensions.")
+ (license license:expat)))
+
+(define-public rust-wayland-protocols-0.21
+ (package
+ (inherit rust-wayland-protocols-0.23)
+ (name "rust-wayland-protocols")
+ (version "0.21.13")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wayland-protocols" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0i91yh3nxk9llhly2ly3nvlfx0lbpvyq919cgmnyx3j25bmf5zaa"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-wayland-client" ,rust-wayland-client-0.21)
+ ("rust-wayland-commons" ,rust-wayland-commons-0.21)
+ ("rust-wayland-server" ,rust-wayland-server-0.21)
+ ("rust-wayland-sys" ,rust-wayland-sys-0.21)
+ ("rust-wayland-scanner" ,rust-wayland-scanner-0.21))))))
+
+(define-public rust-wayland-scanner-0.23
+ (package
+ (name "rust-wayland-scanner")
+ (version "0.23.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wayland-scanner" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0g8wcphykjrcpslznyi3qccx1pckw97rckq5b295nfbg6r3j5c4k"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
(("rust-proc-macro2" ,rust-proc-macro2-0.4)
- ("rust-quote" ,rust-quote-0.6))))
- (home-page "https://github.com/rustwasm/wasm-bindgen")
- (synopsis "Internal testing macro for wasm-bindgen")
+ ("rust-quote" ,rust-quote-0.6)
+ ("rust-xml-rs" ,rust-xml-rs-0.8))))
+ (home-page "https://github.com/smithay/wayland-rs")
+ (synopsis
+ "Wayland Scanner for generating rust APIs from XML wayland protocol files")
(description
- "This library contains the internal testing macro for wasm-bindgen.")
- (license (list license:asl2.0
- license:expat))))
+ "Wayland Scanner for generating rust APIs from XML wayland protocol files.
+Intented for use with wayland-sys. You should only need this crate if
+you are working on custom wayland protocol extensions.
+Look at the crate wayland-client for usable bindings.")
+ (license license:expat)))
+
+(define-public rust-wayland-scanner-0.21
+ (package
+ (inherit rust-wayland-scanner-0.23)
+ (name "rust-wayland-scanner")
+ (version "0.21.13")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wayland-scanner" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "17mp49v7w0p0x5ry628lj2llljnwkr9aj9g4bqqhfibid32jhf5z"))))))
+
+(define-public rust-wayland-server-0.23
+ (package
+ (name "rust-wayland-server")
+ (version "0.23.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wayland-server" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1ccsalq6gnf07klnbjx2dxcbibhw03rqsgi578p913s3zsjlcg8a"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-calloop" ,rust-calloop-0.4)
+ ("rust-downcast-rs" ,rust-downcast-rs-1.1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-mio" ,rust-mio-0.6)
+ ("rust-nix" ,rust-nix-0.14)
+ ("rust-wayland-commons" ,rust-wayland-commons-0.23)
+ ("rust-wayland-sys" ,rust-wayland-sys-0.23)
+ ("rust-wayland-scanner" ,rust-wayland-scanner-0.23))))
+ (home-page "https://github.com/smithay/wayland-rs")
+ (synopsis
+ "Bindings to the standard C implementation of the wayland protocol")
+ (description
+ "This package provides Rust bindings to the standard C implementation of
+the wayland protocol, server side.")
+ (license license:expat)))
+
+(define-public rust-wayland-server-0.21
+ (package
+ (inherit rust-wayland-server-0.23)
+ (name "rust-wayland-server")
+ (version "0.21.13")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wayland-server" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0ayn4wlrpg0fw04prri9awpkjvbzjil0d3l3a8zs9pdbnspvw6ah"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-calloop" ,rust-calloop-0.4)
+ ("rust-downcast-rs" ,rust-downcast-rs-1.1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-mio" ,rust-mio-0.6)
+ ("rust-nix" ,rust-nix-0.14)
+ ("rust-wayland-commons" ,rust-wayland-commons-0.21)
+ ("rust-wayland-sys" ,rust-wayland-sys-0.21)
+ ("rust-wayland-scanner" ,rust-wayland-scanner-0.21))))))
+
+(define-public rust-web-sys-0.3
+ (package
+ (name "rust-web-sys")
+ (version "0.3.35")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "web-sys" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0fzmxcyahy3ghl8lkjkchj9krmnr56shvbqgr7db3hm8dappryda"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-js-sys" ,rust-js-sys-0.3)
+ ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
+ ("rust-anyhow" ,rust-anyhow-1.0)
+ ("rust-env-logger" ,rust-env-logger-0.7)
+ ("rust-sourcefile" ,rust-sourcefile-0.1)
+ ("rust-wasm-bindgen-webidl" ,rust-wasm-bindgen-webidl-0.2))
+ #:cargo-development-inputs
+ (("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4)
+ ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))
+ (home-page "https://rustwasm.github.io/wasm-bindgen/web-sys/index.html")
+ (synopsis
+ "Bindings for all Web APIs, a procedurally generated crate from WebIDL")
+ (description
+ "Bindings for all Web APIs, a procedurally generated crate from WebIDL.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-weedle-0.10
+ (package
+ (name "rust-weedle")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "weedle" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0r0i2kllvkn9jil6cjzxdi1zsc6p1gjyk751w8lyclaii1q3zd1v"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-nom" ,rust-nom-4.2))))
+ (home-page "https://github.com/rustwasm/weedle")
+ (synopsis "WebIDL Parser")
+ (description
+ "This package provides a WebIDL Parser.")
+ (license license:expat)))
(define-public rust-which-2.0
(package
@@ -19295,6 +20724,103 @@ color in a Windows console.")
(license (list license:unlicense
license:expat))))
+(define-public rust-winit-0.20
+ (package
+ (name "rust-winit")
+ (version "0.20.0-alpha6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "winit" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1g5cchl97zcg525j6jdr77yby8cmhwv1qqwcd3sf4l4zl263195z"))
+ (patches
+ (list
+ (origin
+ (method url-fetch)
+ (uri "https://github.com/rust-windowing/winit/commit/d1c6506865c7bddbb5fb4d80a613e43ddc1370b5.patch")
+ (file-name (string-append name "-fix-bindings.patch"))
+ (sha256
+ (base32
+ "03q4bvdq86kii53d0vsywv08g8vqirf9h1lz2cl6rcc7gjfynpds")))))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-android-glue" ,rust-android-glue-0.2)
+ ("rust-bitflags" ,rust-bitflags-1)
+ ("rust-calloop" ,rust-calloop-0.4)
+ ("rust-cocoa" ,rust-cocoa-0.19)
+ ("rust-core-foundation" ,rust-core-foundation-0.6)
+ ("rust-core-graphics" ,rust-core-graphics-0.17)
+ ("rust-core-video-sys" ,rust-core-video-sys-0.1)
+ ("rust-dispatch" ,rust-dispatch-0.1)
+ ("rust-instant" ,rust-instant-0.1)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-objc" ,rust-objc-0.2)
+ ("rust-parking-lot" ,rust-parking-lot-0.10)
+ ("rust-percent-encoding" ,rust-percent-encoding-2.1)
+ ("rust-raw-window-handle" ,rust-raw-window-handle-0.3)
+ ("rust-serde" ,rust-serde-1.0)
+ ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.6)
+ ("rust-stdweb" ,rust-stdweb-0.4)
+ ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
+ ("rust-wayland-client" ,rust-wayland-client-0.23)
+ ("rust-web-sys" ,rust-web-sys-0.3)
+ ("rust-winapi" ,rust-winapi-0.3)
+ ("rust-x11-dl" ,rust-x11-dl-2))
+ #:cargo-development-inputs
+ (("rust-console-log" ,rust-console-log-0.1)
+ ("rust-env-logger" ,rust-env-logger-0.5)
+ ("rust-image" ,rust-image-0.21))))
+ (home-page "https://github.com/rust-windowing/winit")
+ (synopsis
+ "Cross-platform window creation library")
+ (description
+ "Cross-platform window creation library.")
+ (license license:asl2.0)))
+
+(define-public rust-winit-0.19
+ (package
+ (inherit rust-winit-0.20)
+ (name "rust-winit")
+ (version "0.19.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "winit" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1a4lnfyvlc4jabhs30wlmkgdjv7qhbplmyp833kl7ykjni5yp5hy"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-android-glue" ,rust-android-glue-0.2)
+ ("rust-backtrace" ,rust-backtrace-0.3)
+ ("rust-bitflags" ,rust-bitflags-1)
+ ("rust-cocoa" ,rust-cocoa-0.18)
+ ("rust-core-foundation" ,rust-core-foundation-0.6)
+ ("rust-core-graphics" ,rust-core-graphics-0.17)
+ ("rust-image" ,rust-image-0.21)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-objc" ,rust-objc-0.2)
+ ("rust-parking-lot" ,rust-parking-lot-0.9)
+ ("rust-percent-encoding" ,rust-percent-encoding-2.1)
+ ("rust-raw-window-handle" ,rust-raw-window-handle-0.3)
+ ("rust-serde" ,rust-serde-1.0)
+ ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.4)
+ ("rust-wayland-client" ,rust-wayland-client-0.21)
+ ("rust-winapi" ,rust-winapi-0.3)
+ ("rust-x11-dl" ,rust-x11-dl-2))))))
+
(define-public rust-winpty-sys-0.4
(package
(name "rust-winpty-sys")
@@ -19586,11 +21112,10 @@ to XDG Base Directory specification")
"0ka3qhqc5lvk3hz14wmsj32jhmh44blcbfrx5hfxli2gg38kv4k5"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
+ `(#:cargo-inputs
(("rust-linked-hash-map" ,rust-linked-hash-map-0.5))
#:cargo-development-inputs
- (("rust-quickcheck" ,rust-quickcheck-0.8))))
+ (("rust-quickcheck" ,rust-quickcheck-0.7))))
(home-page "https://chyh1990.github.io/yaml-rust/")
(synopsis "The missing YAML 1.2 parser for rust")
(description
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index b61eb19069..a9b36dd882 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -8,7 +8,7 @@
;;; Copyright © 2016, 2017, 2018, 2019 Chris Marusich <cmmarusich@gmail.com>
;;; Copyright © 2015, 2016, 2018 Christopher Lemmer Webber <cwebber@dustycloud.org>
;;; Copyright © 2016 Adriano Peluso <catonano@gmail.com>
-;;; Copyright © 2016, 2017, 2018, 2019 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2016, 2017, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 David Thompson <davet@gnu.org>
;;; Copyright © 2016 Matthew Jordan <matthewjordandevops@yandex.com>
;;; Copyright © 2016, 2017 Roel Janssen <roel@gnu.org>
@@ -16,7 +16,7 @@
;;; Copyright © 2016, 2019 Alex Griffin <a@ajgrf.com>
;;; Copyright © 2016, 2017, 2018, 2019, 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2016, 2017, 2018 Alex Vong <alexvong1995@gmail.com>
-;;; Copyright © 2016, 2017, 2018, 2019 Arun Isaac <arunisaac@systemreboot.net>
+;;; Copyright © 2016, 2017, 2018, 2019, 2020 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2017 Christopher Baines <mail@cbaines.net>
;;; Copyright © 2017, 2018, 2019, 2020 Mathieu Othacehe <m.othacehe@gmail.com>
;;; Copyright © 2017, 2018, 2019 Clément Lassieur <clement@lassieur.org>
@@ -155,6 +155,7 @@
#:use-module (gnu packages video)
#:use-module (gnu packages haskell-xyz)
#:use-module (gnu packages wordnet)
+ #:use-module (gnu packages photo)
#:use-module (guix utils)
#:use-module (srfi srfi-1)
#:use-module (ice-9 match))
@@ -3434,9 +3435,7 @@ for Flow files.")
(out (assoc-ref outputs "out"))
(version ,(version-major+minor (package-version python))))
(with-directory-excursion
- (string-append out
- "/share/emacs/site-lisp/guix.d/"
- "flycheck-grammalecte-" ,version)
+ (string-append out "/share/emacs/site-lisp")
(symlink (string-append grammalecte "/lib/"
"python" version "/site-packages/"
"grammalecte")
@@ -4711,6 +4710,47 @@ number.")
@code{org-mode} to be rendered as UTF-8 characters.")
(license license:gpl3+)))
+(define-public emacs-org-superstar
+ (package
+ (name "emacs-org-superstar")
+ (version "1.0.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/integral-dw/org-superstar-mode.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0q6180qwjpha10zsiw0ni6lanyjwlj8141a6qivfcs8nwczz7nvz"))))
+ (build-system emacs-build-system)
+ (propagated-inputs
+ `(("emacs-org" ,emacs-org)))
+ (home-page "https://github.com/integral-dw/org-superstar-mode")
+ (synopsis "Prettify headings and plain lists in Org mode")
+ (description "This package prettifies headings and plain lists in
+Org mode. It is a direct descendant of @code{org-bullets}, with most
+of the code base completely rewritten.
+
+Currently, this package prettifies Org heading lines by:
+@itemize
+@item replacing trailing bullets by UTF-8 bullets,
+@item hiding leading stars, customizing their look or removing them from vision,
+@item applying a custom face to the header bullet,
+@item applying a custom face to the leading bullets,
+@item using double-bullets for inline tasks,
+@item (optional) using special bullets for TODO keywords.
+@end itemize
+
+It also prettifies Org plain list bullets by:
+@itemize
+@item replacing each bullet type (*, + and -) with UTF-8 bullets,
+@item applying a custom face to item bullets.
+@end itemize
+
+Features degrade gracefully when viewed from terminal.")
+ (license license:gpl3+)))
+
(define-public emacs-org-pomodoro
;; Last release version was from 2016.
(let ((commit "aa07c11318f91219336197e62c47bc7a3d090479")
@@ -7434,7 +7474,8 @@ xref, etc...) are still available, but with better integration.")
#:phases
;; The package provides autoloads.
(modify-phases %standard-phases
- (delete 'make-autoloads))))
+ (delete 'make-autoloads)
+ (delete 'enable-autoloads-compilation))))
(synopsis "Quicklisp support for SLY")
(description
"@command{sly-quicklisp} is an external contrib for SLY that provides a
@@ -7491,7 +7532,10 @@ additional support for working with ASDF projects.")
(propagated-inputs
`(("emacs-sly" ,emacs-sly)))
(arguments
- '(#:include (cons* "\\.lisp$" "\\.asd$" %default-include)))
+ '(#:include (cons* "\\.lisp$" "\\.asd$" %default-include)
+ #:phases (modify-phases %standard-phases
+ ;; Byte compilation of the autoload file fails.
+ (delete 'enable-autoloads-compilation))))
(synopsis "Named-readtables support for SLY")
(description
"@command{sly-named-readtables} is an external contrib for SLY that
@@ -7525,7 +7569,8 @@ file.")
#:phases
;; The package provides autoloads.
(modify-phases %standard-phases
- (delete 'make-autoloads))))
+ (delete 'make-autoloads)
+ (delete 'enable-autoloads-compilation))))
(synopsis "Expand Common Lisp macros inside source files with SLY")
(description
"@command{sly-macrostep} is a SLY contrib for expanding CL macros right
@@ -7641,7 +7686,7 @@ extensions.")
(license license:gpl3+)))
(define-public emacs-evil-collection
- (let ((commit "eb36c82a84d313e961777dc78fd4ff1d718efdf6")
+ (let ((commit "a478a95a8a3665e40bdae3bab2a0519db6c1f29c")
(revision "13"))
(package
(name "emacs-evil-collection")
@@ -7654,7 +7699,7 @@ extensions.")
(file-name (git-file-name name version))
(sha256
(base32
- "0wi84x9176y4xjl7zpn882achfamx3a2ixlj4nvflxfh6q1qg7bz"))))
+ "15ii5lw6hs4yyl22yyzfwzagdma2sman4rm5gq4m9773g4ava515"))))
(build-system emacs-build-system)
(propagated-inputs
`(("emacs-evil" ,emacs-evil)
@@ -12024,6 +12069,10 @@ match and total match information in the mode-line in various search modes.")
(base32
"0vb338bhjpsnrf60qgxny4z5rjrnifahnrv9axd4shay89d894zq"))))
(build-system emacs-build-system)
+ ;; Byte compilation of the autoload file fails.
+ (arguments
+ `(#:phases (modify-phases %standard-phases
+ (delete 'enable-autoloads-compilation))))
(home-page "https://elpa.gnu.org/packages/seq.html")
(synopsis
"Forward @code{cl-generic} compatibility for Emacs before version 25")
@@ -17365,8 +17414,7 @@ asynchronous communications, the RPC response is fairly good.")
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((perl (assoc-ref inputs "perl"))
(dir (string-append (assoc-ref outputs "out")
- "/share/emacs/site-lisp/guix.d/edbi-"
- ,version)))
+ "/share/emacs/site-lisp")))
(substitute* (string-append dir "/edbi.el")
(("\"perl\"") (string-append "\"" perl "/bin/perl\"")))
(chmod (string-append dir "/edbi-bridge.pl") #o555)
@@ -21560,3 +21608,62 @@ variables.")
"This library is a Company back-end providing auto-completion for
emoji.")
(license license:gpl3+)))
+
+(define-public emacs-exiftool
+ (package
+ (name "emacs-exiftool")
+ (version "0.3.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.systemreboot.net/exiftool.el/")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0bv58is66cz21yhc0qqkp1z4nk13zfi2l7i6pjbhyi0g1n88qqyv"))))
+ (build-system emacs-build-system)
+ (arguments
+ `(#:tests? #t
+ #:test-command '("make" "-C" "tests")
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'configure
+ (lambda* (#:key inputs #:allow-other-keys)
+ (make-file-writable "exiftool.el")
+ (emacs-substitute-variables "exiftool.el"
+ ("exiftool-executable"
+ (string-append (assoc-ref inputs "perl-image-exiftool")
+ "/bin/exiftool")))
+ #t)))))
+ (inputs
+ `(("perl-image-exiftool" ,perl-image-exiftool)))
+ (home-page "https://git.systemreboot.net/exiftool.el/about/")
+ (synopsis "Elisp wrapper around ExifTool")
+ (description "@code{emacs-exiftool} is an Elisp wrapper around ExifTool.
+ExifTool supports reading and writing metadata in various formats including
+EXIF, XMP and IPTC.")
+ (license license:gpl3+)))
+
+(define-public emacs-password-generator
+ (package
+ (name "emacs-password-generator")
+ (version "1.01")
+ (home-page "https://github.com/zargener/emacs-password-genarator")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit "904cdb591a04305ba882ce19e1d117f5fa60f7d3")))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1qgvn79qz1h8ykm5i1qv2fja4v2y0g2i0n5sf7byhnqhqlwn63nv"))))
+ (build-system emacs-build-system)
+ (synopsis "Generate passwords inside Emacs")
+ (description "@code{emacs-password-generator} provides simple functions to
+generate random passwords and insert them into the current buffer. It also
+supports generation of phonetic and numeric passwords.")
+ (license license:artistic2.0)))
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index b26c928e87..fd9c7fa875 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -129,6 +129,11 @@
`(#:tests? #f ; no check target
#:configure-flags (list "--with-modules"
"--disable-build-details")
+ #:modules ((guix build emacs-utils)
+ (guix build glib-or-gtk-build-system)
+ (guix build utils))
+ #:imported-modules ((guix build emacs-utils)
+ ,@%glib-or-gtk-build-system-modules)
#:phases
(modify-phases %standard-phases
(add-before 'configure 'fix-/bin/pwd
@@ -139,13 +144,12 @@
"pwd"))
#t))
(add-after 'install 'install-site-start
- ;; Use 'guix-emacs' in "site-start.el". This way, Emacs packages
- ;; provided by Guix and installed in
- ;; ~/.guix-profile/share/emacs/site-lisp/guix.d/PACKAGE-VERSION are
- ;; automatically found.
+ ;; Use 'guix-emacs' in "site-start.el", which is used autoload the
+ ;; Elisp packages found in EMACSLOADPATH.
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
- (lisp-dir (string-append out "/share/emacs/site-lisp")))
+ (lisp-dir (string-append out "/share/emacs/site-lisp"))
+ (emacs (string-append out "/bin/emacs")))
(copy-file (assoc-ref inputs "guix-emacs.el")
(string-append lisp-dir "/guix-emacs.el"))
(with-output-to-file (string-append lisp-dir "/site-start.el")
@@ -158,6 +162,9 @@
;; share/emacs/site-lisp union when added to EMACSLOADPATH,
;; which leads to conflicts.
(delete-file (string-append lisp-dir "/subdirs.el"))
+ ;; Byte compile the site-start files.
+ (parameterize ((%emacs emacs))
+ (emacs-byte-compile-directory lisp-dir))
#t))))))
(inputs
`(("gnutls" ,gnutls)
@@ -326,6 +333,12 @@ languages.")
(build-system gnu-build-system)
(arguments
(substitute-keyword-arguments (package-arguments emacs)
+ ((#:modules _)
+ `((guix build emacs-utils)
+ ,@%gnu-build-system-modules))
+ ((#:imported-modules _)
+ `((guix build emacs-utils)
+ ,@%gnu-build-system-modules))
((#:phases phases)
`(modify-phases ,phases
(delete 'install-site-start)))
@@ -345,6 +358,12 @@ editor (with xwidgets support)")
(build-system gnu-build-system)
(arguments
(substitute-keyword-arguments (package-arguments emacs)
+ ((#:modules _)
+ `((guix build emacs-utils)
+ ,@%gnu-build-system-modules))
+ ((#:imported-modules _)
+ `((guix build emacs-utils)
+ ,@%gnu-build-system-modules))
((#:configure-flags flags ''())
`(cons "--with-xwidgets" ,flags))))
(inputs
@@ -358,6 +377,14 @@ editor (with xwidgets support)")
(synopsis "The extensible, customizable, self-documenting text
editor (console only)")
(build-system gnu-build-system)
+ (arguments
+ (substitute-keyword-arguments (package-arguments emacs)
+ ((#:modules _)
+ `((guix build emacs-utils)
+ ,@%gnu-build-system-modules))
+ ((#:imported-modules _)
+ `((guix build emacs-utils)
+ ,@%gnu-build-system-modules))))
(inputs (fold alist-delete
(package-inputs emacs)
'("libx11" "gtk+" "libxft" "libtiff" "giflib" "libjpeg"
@@ -376,9 +403,15 @@ editor (without an X toolkit)" )
(inputs (append `(("inotify-tools" ,inotify-tools))
(alist-delete "gtk+" (package-inputs emacs))))
(arguments
- `(,@(substitute-keyword-arguments (package-arguments emacs)
- ((#:configure-flags cf)
- `(cons "--with-x-toolkit=no" ,cf)))))))
+ (substitute-keyword-arguments (package-arguments emacs)
+ ((#:modules _)
+ `((guix build emacs-utils)
+ ,@%gnu-build-system-modules))
+ ((#:imported-modules _)
+ `((guix build emacs-utils)
+ ,@%gnu-build-system-modules))
+ ((#:configure-flags cf)
+ `(cons "--with-x-toolkit=no" ,cf))))))
(define-public guile-emacs
(let ((commit "41120e0f595b16387eebfbf731fff70481de1b4b")
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index f3fa9e2597..b446958833 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -14,6 +14,7 @@
;;; Copyright © 2019 Jovany Leandro G.C <bit4bit@riseup.net>
;;; Copyright © 2019 Steve Sprang <scs@stevesprang.com>
;;; Copyright © 2019 John Soo <jsoo1@asu.edu>
+;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -793,138 +794,123 @@ language.")
(define-public ao
(deprecated-package "ao-cad" libfive))
+;; TODO Add doc https://gitlab.com/kicad/services/kicad-doc/-/tree/master
(define-public kicad
- (package
- (name "kicad")
- (version "5.1.5")
- (source
- (origin
- (method url-fetch)
- (file-name (string-append name "-" version ".tar.xz"))
- (uri (string-append
- "https://launchpad.net/kicad/" (version-major version)
- ".0/" version "/+download/kicad-" version ".tar.xz"))
- (sha256
- (base32 "0x3417f2pa7p65s9f7l49rqbnrzy8gz6i0n07mlbxqbnm0fmlql0"))))
- (build-system cmake-build-system)
- (arguments
- `(#:out-of-source? #t
- #:tests? #f ; no tests
- #:build-type "Release"
- #:configure-flags
- (list "-DKICAD_SCRIPTING_PYTHON3=ON"
- "-DKICAD_SCRIPTING_WXPYTHON_PHOENIX=ON"
- "-DCMAKE_BUILD_WITH_INSTALL_RPATH=TRUE")
- #:phases
- (modify-phases %standard-phases
- (add-after 'install 'wrap-program
- ;; Ensure correct Python at runtime.
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (python (assoc-ref inputs "python"))
- (file (string-append out "/bin/kicad"))
- (path (string-append
- out
- "/lib/python"
- ,(version-major+minor
- (package-version python))
- "/site-packages:"
- (getenv "PYTHONPATH"))))
- (wrap-program file
- `("PYTHONPATH" ":" prefix (,path))
- `("PATH" ":" prefix
- (,(string-append python "/bin:")))))
- #t)))))
- (native-inputs
- `(("boost" ,boost)
- ("gettext" ,gnu-gettext)
- ("pkg-config" ,pkg-config)
- ("swig" ,swig)
- ("zlib" ,zlib)))
- (inputs
- `(("cairo" ,cairo)
- ("curl" ,curl)
- ("desktop-file-utils" ,desktop-file-utils)
- ("glew" ,glew)
- ("glm" ,glm)
- ("hicolor-icon-theme" ,hicolor-icon-theme)
- ("libngspice" ,libngspice)
- ("libsm" ,libsm)
- ("mesa" ,mesa)
- ("opencascade-oce" ,opencascade-oce)
- ("openssl" ,openssl)
- ("python" ,python)
- ("wxwidgets" ,wxwidgets)
- ("wxpython" ,python-wxpython)))
- (home-page "https://kicad-pcb.org/")
- (synopsis "Electronics Design Automation Suite")
- (description "Kicad is a program for the formation of printed circuit
+ (package
+ (name "kicad")
+ (version "5.1.5")
+ (source
+ (origin
+ (method url-fetch)
+ (file-name (string-append name "-" version ".tar.xz"))
+ (uri (string-append
+ "https://launchpad.net/kicad/" (version-major version)
+ ".0/" version "/+download/kicad-" version ".tar.xz"))
+ (sha256
+ (base32 "0x3417f2pa7p65s9f7l49rqbnrzy8gz6i0n07mlbxqbnm0fmlql0"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:out-of-source? #t
+ #:tests? #f ; no tests
+ #:build-type "Release"
+ #:configure-flags
+ (list "-DKICAD_SCRIPTING_PYTHON3=ON"
+ "-DKICAD_SCRIPTING_WXPYTHON_PHOENIX=ON"
+ "-DCMAKE_BUILD_WITH_INSTALL_RPATH=TRUE")
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'install 'install-translations
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (copy-recursively (assoc-ref inputs "kicad-i18l")
+ (assoc-ref outputs "out"))
+ #t))
+ (add-after 'install 'wrap-program
+ ;; Ensure correct Python at runtime.
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (python (assoc-ref inputs "python"))
+ (file (string-append out "/bin/kicad"))
+ (path (string-append
+ out
+ "/lib/python"
+ ,(version-major+minor
+ (package-version python))
+ "/site-packages:"
+ (getenv "PYTHONPATH"))))
+ (wrap-program file
+ `("PYTHONPATH" ":" prefix (,path))
+ `("PATH" ":" prefix
+ (,(string-append python "/bin:")))))
+ #t)))))
+ (native-search-paths
+ (list (search-path-specification
+ (variable "KICAD_TEMPLATE_DIR")
+ (files '("share/kicad/template")))
+ (search-path-specification
+ (variable "KICAD_SYMBOL_DIR") ; symbol path
+ (files '("share/kicad/library")))
+ (search-path-specification
+ (variable "KISYSMOD") ; footprint path
+ (files '("share/kicad/modules")))
+ (search-path-specification
+ (variable "KISYS3DMOD") ; 3D model path
+ (files '("share/kicad/modules/packages3d")))))
+ (native-inputs
+ `(("boost" ,boost)
+ ("desktop-file-utils" ,desktop-file-utils)
+ ("gettext" ,gnu-gettext)
+ ("kicad-i18l" ,kicad-i18l)
+ ("pkg-config" ,pkg-config)
+ ("swig" ,swig)
+ ("zlib" ,zlib)))
+ (inputs
+ `(("cairo" ,cairo)
+ ("curl" ,curl)
+ ("glew" ,glew)
+ ("glm" ,glm)
+ ("hicolor-icon-theme" ,hicolor-icon-theme)
+ ("libngspice" ,libngspice)
+ ("libsm" ,libsm)
+ ("mesa" ,mesa)
+ ("opencascade-oce" ,opencascade-oce)
+ ("openssl" ,openssl)
+ ("python" ,python-wrapper)
+ ("wxwidgets" ,wxwidgets)
+ ("wxpython" ,python-wxpython)))
+ (home-page "https://kicad-pcb.org/")
+ (synopsis "Electronics Design Automation Suite")
+ (description "Kicad is a program for the formation of printed circuit
boards and electrical circuits. The software has a number of programs that
perform specific functions, for example, pcbnew (Editing PCB), eeschema (editing
electrical diagrams), gerbview (viewing Gerber files) and others.")
- (license license:gpl3+)))
+ (license license:gpl3+)))
-(define-public kicad-library
- (let ((version "4.0.7"))
- (package
- (name "kicad-library")
- (version version)
- (source
- (origin
- (method url-fetch)
- (uri (string-append
- "https://kicad-downloads.s3.cern.ch/libraries/kicad-library-"
- version ".tar.gz"))
- (sha256
- (base32 "1azb7v1y3l6j329r9gg7f4zlg0wz8nh4s4i5i0l9s4yh9r6i9zmv"))))
- (build-system cmake-build-system)
- (arguments
- `(#:out-of-source? #t
- #:tests? #f ; no tests
- #:phases
- (modify-phases %standard-phases
- (add-after 'install 'install-footprints ; from footprints tarball
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (invoke "tar" "xvf"
- (assoc-ref inputs "kicad-footprints")
- "-C" (string-append (assoc-ref outputs "out")
- "/share/kicad/modules")
- "--strip-components=1")))
- ;; We change the default global footprint file, which is generated if
- ;; it doesn't exist in user's home directory, from the one using the
- ;; github plugin, to the one using the KISYSMOD environment path.
- (add-after 'install-footprints 'use-pretty-footprint-table
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (template-dir (string-append out "/share/kicad/template"))
- (fp-lib-table (string-append template-dir "/fp-lib-table")))
- (delete-file fp-lib-table)
- (copy-file (string-append fp-lib-table ".for-pretty")
- fp-lib-table))
- #t)))))
- (native-search-paths
- (list (search-path-specification
- (variable "KISYSMOD") ; footprint path
- (files '("share/kicad/modules")))
- (search-path-specification
- (variable "KISYS3DMOD") ; 3D model path
- (files '("share/kicad/modules/packages3d")))))
- ;; Kicad distributes footprints in a separate tarball.
- (native-inputs
- `(("kicad-footprints"
- ,(origin
- (method url-fetch)
- (uri (string-append
- "http://downloads.kicad-pcb.org/libraries/kicad-footprints-"
- version ".tar.gz"))
- (sha256
- (base32
- "08qrz5zzsb5127jlnv24j0sgiryd5nqwg3lfnwi8j9a25agqk13j"))))))
- (home-page "https://kicad-pcb.org/")
- (synopsis "Libraries for kicad")
- (description "This package provides Kicad component, footprint and 3D
-render model libraries.")
- (license license:lgpl2.0+))))
+(define kicad-i18l
+ (package
+ (name "kicad-i18l")
+ (version "5.1.5")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.com/kicad/code/kicad-i18n.git")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1rfpifl8vky1gba2angizlb2n7mwmsiai3r6ip6qma60wdj8sbd3"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (delete 'build)
+ (delete 'check))))
+ (native-inputs
+ `(("gettext" ,gnu-gettext)))
+ (home-page "https://kicad-pcb.org/")
+ (synopsis "KiCad GUI translations")
+ (description "This package contains the po files that are used for the GUI
+translations for KiCad.")
+ (license license:gpl3+)))
(define-public kicad-symbols
(package
@@ -943,9 +929,9 @@ render model libraries.")
(arguments
`(#:tests? #f)) ; no tests exist
(home-page "https://kicad-pcb.org/")
- (synopsis "Official KiCad schematic symbol libraries for KiCad 5")
+ (synopsis "Official KiCad schematic symbol libraries")
(description "This package contains the official KiCad schematic symbol
-libraries for KiCad 5.")
+libraries.")
;; TODO: Exception: "To the extent that the creation of electronic designs
;; that use 'Licensed Material' can be considered to be 'Adapted Material',
;; then the copyright holder waives article 3 of the license with respect to
@@ -954,6 +940,58 @@ libraries for KiCad 5.")
;; See <https://github.com/KiCad/kicad-symbols/blob/master/LICENSE.md>.
(license license:cc-by-sa4.0)))
+(define-public kicad-footprints
+ (package
+ (inherit kicad-symbols)
+ (name "kicad-footprints")
+ (version "5.1.5")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/KiCad/kicad-footprints.git")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1c4whgn14qhz4yqkl46w13p6rpv1k0hsc9s9h9368fxfcz9knb2j"))))
+ (synopsis "Official KiCad footprint libraries")
+ (description "This package contains the official KiCad footprint libraries.")))
+
+(define-public kicad-packages3d
+ (package
+ (inherit kicad-symbols)
+ (name "kicad-packages3d")
+ (version "5.1.5")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/KiCad/kicad-packages3d.git")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0cff2ms1bsw530kqb1fr1m2pjixyxzwa81mxgac3qpbcf8fnpvaz"))))
+ (synopsis "Official KiCad 3D model libraries")
+ (description "This package contains the official KiCad 3D model libraries.")))
+
+(define-public kicad-templates
+ (package
+ (inherit kicad-symbols)
+ (name "kicad-templates")
+ (version "5.1.5")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/KiCad/kicad-templates.git")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0cs3bm3zb5ngw5ldn0lzw5bvqm4kvcidyrn76438alffwiz2b15g"))))
+ (synopsis "Official KiCad project and worksheet templates")
+ (description "This package contains the official KiCad project and
+worksheet templates.")))
+
(define-public linsmith
(package
(name "linsmith")
diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm
index 826de90ccc..8822ff35da 100644
--- a/gnu/packages/firmware.scm
+++ b/gnu/packages/firmware.scm
@@ -188,7 +188,7 @@ by the b43-open driver of Linux-libre.")
(name (string-replace-substring
(string-append "opensbi-" platform "-" variant)
"_" "-"))
- (version "0.5")
+ (version "0.6")
(source
(origin
(method git-fetch)
@@ -197,7 +197,7 @@ by the b43-open driver of Linux-libre.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0qc73xbiy79qqkwxmp4mg15q8n8k26njkyqb6n0jw5dyibd6hb85"))))
+ (base32 "129ypdga0fzn657n2f42g2a1vx3hf8x7sd78h06d35pgkry0jkl7"))))
(build-system gnu-build-system)
(native-inputs
`(,@(if (and (not (string-prefix? "riscv64" (%current-system)))
@@ -240,12 +240,14 @@ for platform-specific firmwares executing in M-mode.")
(define-public opensbi-qemu-virt
(make-opensbi-package "qemu" "virt"))
-(define-public opensbi-qemu-sifive-u
- (make-opensbi-package "qemu" "sifive_u"))
-
(define-public opensbi-sifive-fu540
(make-opensbi-package "sifive" "fu540"))
+(define-public opensbi-qemu-sifive-u
+ ;; Dropped upstream, as all functionality is present in the sifive-fu540
+ ;; target for recent versions of qemu, u-boot and linux.
+ (deprecated-package "opensbi-qemu-sifive-u" opensbi-sifive-fu540))
+
(define-public seabios
(package
(name "seabios")
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index ad35fb30f6..5e6482c53e 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -8,7 +8,7 @@
;;; Copyright © 2016, 2017, 2019 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Kei Kebreau <kkebreau@posteo.net>
;;; Copyright © 2017, 2018 Mark H Weaver <mhw@netris.org>
-;;; Copyright © 2017, 2018, 2019 Marius Bakke <mbakke@fastmail.com>
+;;; Copyright © 2017, 2018, 2019, 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2017, 2018, 2019 Rutger Helling <rhelling@mykolab.com>
;;; Copyright © 2017 Brendan Tildesley <mail@brendan.scot>
;;; Copyright © 2018, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
@@ -306,7 +306,6 @@ the freedesktop.org XDG Base Directory specification.")
"-Dcgroup-controller=elogind"
"-Dman=true"
;; Disable some tests.
- "-Dtests=false"
"-Dslow-tests=false"))
#:phases
(modify-phases %standard-phases
@@ -324,6 +323,46 @@ the freedesktop.org XDG Base Directory specification.")
(("=/run/dbus/system_bus_socket")
"=/var/run/dbus/system_bus_socket"))
#t))
+ (add-after 'unpack 'adjust-tests
+ (lambda _
+ ;; This test tries to copy some bytes from /usr/lib/os-release,
+ ;; which does not exist in the build container. Choose something
+ ;; more likely to be available.
+ (substitute* "src/test/test-copy.c"
+ (("/usr/lib/os-release")
+ "/etc/passwd"))
+ ;; Use a shebang that works in the build container.
+ (substitute* "src/test/test-exec-util.c"
+ (("#!/bin/sh")
+ (string-append "#!" (which "sh"))))
+ ;; Do not look for files or directories that do not exist.
+ (substitute* "src/test/test-fs-util.c"
+ (("usr") "etc")
+ (("/etc/machine-id") "/etc/passwd"))
+ ;; FIXME: Why is sd_id128_get_machine_app_specific failing.
+ ;; Disable for now by hooking into the kernel support check.
+ (substitute* "src/test/test-id128.c"
+ (("if \\(r == -EOPNOTSUPP\\)")
+ "if (1)"))
+ ;; This test expects that /sys is available.
+ (substitute* "src/test/test-mountpoint-util.c"
+ (("assert_se\\(path_is_mount_point\\(\"/sys.*")
+ ""))
+ ;; /bin/sh does not exist in the build container.
+ (substitute* "src/test/test-path-util.c"
+ (("/bin/sh") (which "sh")))
+ ;; This test uses sd_device_new_from_syspath to allocate a
+ ;; loopback device, but that fails because /sys is unavailable.
+ (substitute* "src/libelogind/sd-device/test-sd-device-thread.c"
+ ((".*sd_device_new_from_syspath.*/sys/class/net/lo.*")
+ "return 77;"))
+ ;; Most of these tests require cgroups or an actual live
+ ;; logind system so that it can flicker the monitor, etc.
+ ;; Just skip it until a more narrow selection can be made.
+ (substitute* "src/libelogind/sd-login/test-login.c"
+ (("r = sd_pid_get_slice.*")
+ "return 77;"))
+ #t))
(add-after 'unpack 'change-pid-file-path
(lambda _
(substitute* "src/login/elogind.c"
diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm
index cd334abb53..b8cd32db08 100644
--- a/gnu/packages/gnome-xyz.scm
+++ b/gnu/packages/gnome-xyz.scm
@@ -24,15 +24,20 @@
#:use-module (guix build-system trivial)
#:use-module (guix build-system gnu)
#:use-module (guix build-system copy)
+ #:use-module (guix build-system meson)
#:use-module (guix git-download)
#:use-module (guix packages)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
+ #:use-module (gnu packages gettext)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gtk)
#:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages python-xyz)
+ #:use-module (gnu packages ssh)
+ #:use-module (gnu packages tls)
#:use-module (gnu packages ruby)
#:use-module (gnu packages xml))
@@ -85,7 +90,7 @@ like Gnome, Unity, Budgie, Pantheon, XFCE, Mate and others.")
(define-public delft-icon-theme
(package
(name "delft-icon-theme")
- (version "1.10")
+ (version "1.11")
(source
(origin
(method git-fetch)
@@ -94,21 +99,19 @@ like Gnome, Unity, Budgie, Pantheon, XFCE, Mate and others.")
(commit (string-append "v" version))))
(sha256
(base32
- "0vw3yw9f9ygzfd2k3zrfih3r0vkzlhk1bmsk8sapvk7np24i1z9s"))
+ "1m3r4i4m3y3xsjb5f4bik0ylmi64amkfyr0y8pjbvv6gyj492mi6"))
(file-name (git-file-name name version))))
- (build-system trivial-build-system)
+ (build-system copy-build-system)
(arguments
- `(#:modules ((guix build utils))
- #:builder
- (begin
- (use-modules (guix build utils))
- (copy-recursively (assoc-ref %build-inputs "source") "icons")
- (substitute* "icons/Delft/index.theme"
- (("gnome") "Adwaita"))
- (delete-file "icons/README.md")
- (delete-file "icons/LICENSE")
- (delete-file "icons/logo.jpg")
- (copy-recursively "icons" (string-append %output "/share/icons")))))
+ `(#:install-plan
+ `(("." "share/icons" #:exclude ("README.md" "LICENSE" "logo.jpg")))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-index.theme
+ (lambda _
+ (substitute* "Delft/index.theme"
+ (("gnome") "Adwaita"))
+ #t)))))
(home-page "https://www.gnome-look.org/p/1199881/")
(synopsis "Continuation of Faenza icon theme with up to date app icons")
(description "Delft is a fork of the popular icon theme Faenza with up to
@@ -131,19 +134,11 @@ the Obsidian icon theme.")
(base32
"1fjhx23jqwv3d0smwhnjvc35gqhwk9p5f96ic22pfax653cn5vh8"))
(file-name (git-file-name name version))))
- (build-system trivial-build-system)
+ (build-system copy-build-system)
(arguments
- '(#:modules ((guix build utils))
- #:builder
- (begin
- (use-modules (guix build utils))
- (let* ((source (assoc-ref %build-inputs "source"))
- (install-dir (string-append (assoc-ref %outputs "out")
- "/share/gnome-shell/extensions"
- "/appindicatorsupport@rgcjonas.gmail.com")))
- (mkdir-p install-dir)
- (copy-recursively source install-dir)
- #t))))
+ `(#:install-plan
+ '(("." ,(string-append "share/gnome-shell/extensions/"
+ "appindicatorsupport@rgcjonas.gmail.com")))))
(synopsis "Adds KStatusNotifierItem support to GNOME Shell")
(description "This extension integrates Ubuntu AppIndicators
and KStatusNotifierItems (KDE's successor of the systray) into
@@ -188,6 +183,100 @@ faster window switching.")
(home-page "https://micheleg.github.io/dash-to-dock/")
(license license:gpl2+)))
+(define-public gnome-shell-extension-gsconnect
+ (package
+ (name "gnome-shell-extension-gsconnect")
+ ;; v28 is the last version to support GNOME 3.32
+ (version "28")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url (string-append "https://github.com/andyholmes"
+ "/gnome-shell-extension-gsconnect.git"))
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0grqkzqm7mlkbzin4nx9w7bh5cgygph8pn0cvim4a4gg99nfcp5z"))))
+ (build-system meson-build-system)
+ (arguments
+ `(#:configure-flags
+ (let* ((out (assoc-ref %outputs "out"))
+ (name+version (strip-store-file-name out))
+ (gschema-dir (string-append out
+ "/share/gsettings-schemas/"
+ name+version
+ "/glib-2.0/schemas"))
+ (gnome-shell (assoc-ref %build-inputs "gnome-shell"))
+ (openssh (assoc-ref %build-inputs "openssh"))
+ (openssl (assoc-ref %build-inputs "openssl")))
+ (list
+ (string-append "-Dgnome_shell_libdir=" gnome-shell "/lib")
+ (string-append "-Dgsettings_schemadir=" gschema-dir)
+ (string-append "-Dopenssl_path=" openssl "/bin/openssl")
+ (string-append "-Dsshadd_path=" openssh "/bin/ssh-add")
+ (string-append "-Dsshkeygen_path=" openssh "/bin/ssh-keygen")
+ (string-append "-Dsession_bus_services_dir=" out "/share/dbus-1/services")
+ "-Dpost_install=true"))
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'configure 'fix-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let* ((glib (assoc-ref inputs "glib:bin"))
+ (gapplication (string-append glib "/bin/gapplication"))
+ (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
+ (substitute* "data/org.gnome.Shell.Extensions.GSConnect.desktop"
+ (("gapplication") gapplication))
+ (for-each
+ (lambda (file)
+ (substitute* file
+ (("'use strict';")
+ (string-append "'use strict';\n\n"
+ "'" gi-typelib-path "'.split(':').forEach("
+ "path => imports.gi.GIRepository.Repository."
+ "prepend_search_path(path));"))))
+ '("src/extension.js" "src/prefs.js"))
+ #t)))
+ (add-after 'install 'wrap-daemons
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (service-dir
+ (string-append out "/share/gnome-shell/extensions"
+ "/gsconnect@andyholmes.github.io/service"))
+ (gi-typelib-path (getenv "GI_TYPELIB_PATH")))
+ (wrap-program (string-append service-dir "/daemon.js")
+ `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
+ #t))))))
+ (inputs
+ `(("at-spi2-core" ,at-spi2-core)
+ ("caribou" ,caribou)
+ ("evolution-data-server" ,evolution-data-server)
+ ("folks" ,folks)
+ ("gjs" ,gjs)
+ ("glib" ,glib)
+ ("glib:bin" ,glib "bin")
+ ("gsound" ,gsound)
+ ("gnome-shell" ,gnome-shell)
+ ("gtk+" ,gtk+)
+ ("nautilus" ,nautilus)
+ ("openssh" ,openssh)
+ ("openssl" ,openssl)
+ ("python-nautilus" ,python-nautilus)
+ ("python-pygobject" ,python-pygobject)
+ ("upower" ,upower)))
+ (native-inputs
+ `(("gettext" ,gettext-minimal)
+ ("gobject-introspection" ,gobject-introspection)
+ ("libxml2" ,libxml2)
+ ("pkg-config" ,pkg-config)))
+ (home-page "https://github.com/andyholmes/gnome-shell-extension-gsconnect/wiki")
+ (synopsis "Connect GNOME Shell with your Android phone")
+ (description "GSConnect is a complete implementation of KDE Connect
+especially for GNOME Shell, allowing devices to securely share content, like
+notifications or files, and other features like SMS messaging and remote
+control.")
+ (license license:gpl2)))
+
(define-public gnome-shell-extension-hide-app-icon
(let ((commit "4188aa5f4ba24901a053a0c3eb0d83baa8625eab")
(revision "0"))
@@ -289,20 +378,12 @@ into a single panel, similar to that found in KDE Plasma and Windows 7+.")
(base32
"0fa8l3xlh8kbq07y4385wpb908zm6x53z81q16xlmin97dln32hh"))
(file-name (git-file-name name version))))
- (build-system trivial-build-system)
+ (build-system copy-build-system)
(arguments
- '(#:modules ((guix build utils))
- #:builder
- (begin
- (use-modules (guix build utils))
- (let ((dst (string-append
- (assoc-ref %outputs "out")
- "/share/gnome-shell/extensions/"
- "noannoyance@daase.net")))
- (mkdir-p dst)
- (copy-recursively (assoc-ref %build-inputs "source") dst)))))
- (synopsis "Removes 'Window is ready' annotation")
- (description "One of the many extensions, that remove this message.
+ '(#:install-plan
+ '(("." "share/gnome-shell/extensions/noannoyance@daase.net"))))
+ (synopsis "Remove 'Window is ready' annotation")
+ (description "One of the many extensions that remove this message.
It uses ES6 syntax and claims to be more actively maintained than others.")
(home-page "https://extensions.gnome.org/extension/2182/noannoyance/")
(license license:gpl2)))
diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index 863edb3b4e..bb2a4d60dc 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -7,10 +7,11 @@
;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
;;; Copyright © 2017 Clément Lassieur <clement@lassieur.org>
;;; Copyright © 2017 ng0 <ng0@n0.is>
-;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2017, 2018, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2019 Ivan Petkov <ivanppetkov@gmail.com>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
+;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -882,6 +883,7 @@ from forcing GEXP-PROMISE."
#:modules ((ice-9 ftw)
(ice-9 rdelim)
+ (ice-9 regex)
(ice-9 match)
(srfi srfi-34)
(srfi srfi-35)
@@ -1067,6 +1069,20 @@ from forcing GEXP-PROMISE."
(force-output)
(retry (- remaining-attempts 1))))
(apply build args)))))))
+ (add-after 'build 'neutralise-store-references
+ (lambda _
+ ;; Mangle the store references to compilers & other build tools in
+ ;; about:buildconfig, reducing IceCat's closure by 1 GiB on x86-64.
+ (substitute*
+ "dist/bin/chrome/toolkit/content/global/buildconfig.html"
+ (((format #f "(~a/)([0-9a-df-np-sv-z]{32})"
+ (regexp-quote (%store-directory)))
+ _ store hash)
+ (string-append store
+ (string-take hash 8)
+ "<!-- Guix: not a runtime dependency -->"
+ (string-drop hash 8))))
+ #t))
(add-before 'configure 'install-desktop-entry
(lambda* (#:key outputs #:allow-other-keys)
;; Install the '.desktop' file.
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 37a5198e4e..08f909b132 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -970,20 +970,17 @@ using S-expressions.")
(define-public guile-debbugs
(package
(name "guile-debbugs")
- (version "0.0.2")
+ (version "0.0.3")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/guile-debbugs/guile-debbugs-"
version ".tar.gz"))
(sha256
(base32
- "16l8910p57im6s3j93xhdaqvgfy6ms5n97177mrch3y961z5hy0i"))
- (modules '((guix build utils)))
- (snippet
- '(substitute* "Makefile.in"
- (("^godir = (.*)/ccache" _ prefix)
- (string-append "godir = " prefix "/site-ccache"))))))
+ "1cc63nw3xdfjrfk8c58r6d5lidmfq5cpqcy32yd5xp81yccprvn9"))))
(build-system gnu-build-system)
+ (propagated-inputs
+ `(("guile-email" ,guile-email)))
(native-inputs
`(("guile" ,guile-2.2)
("pkg-config" ,pkg-config)))
@@ -1023,31 +1020,6 @@ Extensions) compliant email messages and reading emails from the mbox
format.")
(license license:agpl3+)))
-(define-public guile-debbugs-next
- (let ((commit "fb0ae064037a38a0d526e08b4ad24c52e205edb9")
- (revision "2"))
- (package (inherit guile-debbugs)
- (name "guile-debbugs")
- (version (git-version "0.0.3" revision commit))
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://git.savannah.gnu.org/git/guile-debbugs.git")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "195sacx2xc1mzzfljj62nfpi8mxn0rc6dabxckizjksnhb5irfwy"))))
- (build-system gnu-build-system)
- (native-inputs
- `(("pkg-config" ,pkg-config)
- ("autoconf" ,autoconf)
- ("automake" ,automake)
- ("texinfo" ,texinfo)))
- (inputs
- `(("guile" ,guile-2.2)
- ("guile-email" ,guile-email))))))
-
(define-public guile-newt
(package
(name "guile-newt")
diff --git a/gnu/packages/haskell-apps.scm b/gnu/packages/haskell-apps.scm
index 70348ee3cb..662f084fad 100644
--- a/gnu/packages/haskell-apps.scm
+++ b/gnu/packages/haskell-apps.scm
@@ -269,14 +269,14 @@ unique algebra of patches called @url{http://darcs.net/Theory,Patchtheory}.
(define-public git-annex
(package
(name "git-annex")
- (version "7.20200219")
+ (version "8.20200226")
(source
(origin
(method url-fetch)
(uri (string-append "https://hackage.haskell.org/package/"
"git-annex/git-annex-" version ".tar.gz"))
(sha256
- (base32 "0pzwjh98jpirgssbd7pqfk7mzraibrk277dn34s2mrah8zy75b58"))))
+ (base32 "09v80ni1w9z1im79lzrnpz7xlivwna44zqpwq4axwyd17cffqi9m"))))
(build-system haskell-build-system)
(arguments
`(#:configure-flags
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 10e27dc247..b95aec9daa 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -39,6 +39,7 @@
;;; Copyright © 2019, 2020 Brice Waegeneire <brice@waegenei.re>
;;; Copyright © 2019 Kei Kebreau <kkebreau@posteo.net>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
+;;; Copyright © 2020 Pierre Neidhardt <mail@ambrevar.xyz>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -2739,7 +2740,7 @@ from the module-init-tools project.")
(define-public earlyoom
(package
(name "earlyoom")
- (version "1.3")
+ (version "1.3.1")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -2748,7 +2749,7 @@ from the module-init-tools project.")
(file-name (git-file-name name version))
(sha256
(base32
- "0fwbx0y80nqgkxrc9kf9j3iwa0wbps2jmqir3pgqbc2cj0wjh0lr"))))
+ "06sd3jpkdrwqbphsf8jrgs5rxfi7j3xjmygjjvj4xjk4gncz7r2i"))))
(build-system gnu-build-system)
(arguments
`(#:phases (modify-phases %standard-phases
@@ -6397,3 +6398,28 @@ the Linux kernel, C standard library, and libdl (for dynamic linking). While
ELL is designed to be efficient and compact enough for use on embedded Linux
platforms, it is not limited to resource-constrained systems.")
(license license:lgpl2.1+)))
+
+(define-public lttng-ust
+ (package
+ (name "lttng-ust")
+ (version "2.11.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://lttng.org/files/lttng-ust/"
+ "lttng-ust-" version ".tar.bz2"))
+ (sha256
+ (base32
+ "1n646yz7882svf5a4ay3vqiiz3qjn3pgkkij9kk22871wp7q0ck8"))))
+ (build-system gnu-build-system)
+ (inputs
+ `(("liburcu" ,liburcu)
+ ("numactl" ,numactl)))
+ (native-inputs
+ `(("python" ,python-3)))
+ (home-page "https://lttng.org/")
+ (synopsis "LTTng userspace tracer libraries")
+ (description "The user space tracing library, liblttng-ust, is the LTTng
+user space tracer. It receives commands from a session daemon, for example to
+enable and disable specific instrumentation points, and writes event records
+to ring buffers shared with a consumer daemon.")
+ (license license:lgpl2.1+)))
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index a2e8503ccd..7052664aca 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -3034,7 +3034,7 @@ assetsjs_DATA = $(wildcard assets/js/*)\n"))
(,go ,(getenv "GUILE_LOAD_COMPILED_PATH"))))
#t))))))
(inputs
- `(("guile-debbugs" ,guile-debbugs-next)
+ `(("guile-debbugs" ,guile-debbugs)
("guile-email" ,guile-email)
("guile-fibers" ,guile-fibers)
("guile-json" ,guile-json-1)
diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm
index 6c80806457..221cbd509f 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -110,8 +110,8 @@
;; Note: the 'update-guix-package.scm' script expects this definition to
;; start precisely like this.
(let ((version "1.0.1")
- (commit "50299ade040e934fa5533768aacb081eb340af3f")
- (revision 13))
+ (commit "c2f9ea2b502a617bb69227d5f858eee9d4288a6a")
+ (revision 14))
(package
(name "guix")
@@ -127,7 +127,7 @@
(commit commit)))
(sha256
(base32
- "0rbnyy0vqmsl7z350cdazm5xzx74cdia3nxp0msk8xalyb76hff4"))
+ "0hg6yrqlzqiv4gmk9liqar6m9qhhn66q75jsmh86awjwq4qmvyab"))
(file-name (string-append "guix-" version "-checkout"))))
(build-system gnu-build-system)
(arguments
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6ba475b2d8..a4c334525d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -16368,14 +16368,14 @@ class in a @acronym{DRY, Don't Repeat Yourself} way.")
(define-public python-construct
(package
(name "python-construct")
- (version "2.9.45")
+ (version "2.10.56")
(source
(origin
(method url-fetch)
(uri (pypi-uri "construct" version))
(sha256
(base32
- "130iy05awzigm2xah2yvlmb08mac5bi4gzr5m3g7k1krs3ps0w92"))))
+ "0q86jjzsvy835h3c8pjj4619vbp7ihfg8njmyw86ym4qrpni7flp"))))
(build-system python-build-system)
(arguments
`(#:tests? #f)) ; No tests exist.
diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
index 885912be41..482e9e8d1b 100644
--- a/gnu/packages/terminals.scm
+++ b/gnu/packages/terminals.scm
@@ -18,6 +18,7 @@
;;; Copyright © 2019 Pierre Langlois <pierre.langlois@gmx.com>
;;; Copyright © 2019 Brett Gilio <brettg@gnu.org>
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
+;;; Copyright © 2020 Valentin Ignatev <valentignatev@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -36,6 +37,7 @@
(define-module (gnu packages terminals)
#:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix build-system cargo)
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
#:use-module (guix build-system glib-or-gtk)
@@ -47,7 +49,9 @@
#:use-module (gnu packages)
#:use-module (gnu packages autotools)
#:use-module (gnu packages check)
+ #:use-module (gnu packages cmake)
#:use-module (gnu packages compression)
+ #:use-module (gnu packages crates-io)
#:use-module (gnu packages crypto)
#:use-module (gnu packages docbook)
#:use-module (gnu packages fontutils)
@@ -1141,3 +1145,181 @@ while also supporting native scrolling and @command{tmux} control mode
an st fork using wld. st is a simple terminal emulator for X originally
made by suckless.")
(license license:x11)))
+
+(define-public alacritty
+ (package
+ (name "alacritty")
+ (version "0.4.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jwilm/alacritty.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "05jcg33ifngpzw2hdhgb614j87ihhhlqgar0kky183rywg0dxikg"))
+ (modules '((guix build utils)))
+ (snippet
+ ;; Don't use a custom location for winit-0.20-alpha6.
+ '(begin (substitute* "Cargo.toml"
+ (("winit .*") ""))
+ #t))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-clap" ,rust-clap-2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-time" ,rust-time-0.1)
+ ("rust-env-logger" ,rust-env-logger-0.7)
+ ("rust-serde" ,rust-serde-1.0)
+ ("rust-serde-yaml" ,rust-serde-yaml-0.8)
+ ("rust-serde-json" ,rust-serde-json-1.0)
+ ("rust-glutin" ,rust-glutin-0.22) ; adjust 'patch-glutin-libgl-path as needed
+ ("rust-notify" ,rust-notify-4)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-unicode-width" ,rust-unicode-width-0.1)
+ ("rust-parking-lot" ,rust-parking-lot-0.9)
+ ("rust-urlocator" ,rust-urlocator-0.1)
+ ("rust-xdg" ,rust-xdg-2.2)
+ ("rust-image" ,rust-image-0.22)
+ ("rust-dirs" ,rust-dirs-2.0)
+ ("rust-x11-dl" ,rust-x11-dl-2)
+ ("rust-winapi" ,rust-winapi-0.3)
+ ("rust-base64" ,rust-base64-0.11)
+ ("rust-bigflags" ,rust-bitflags-1)
+ ("rust-fnv" ,rust-fnv-1.0)
+ ("rust-mio" ,rust-mio-0.6)
+ ("rust-mio-extras" ,rust-mio-extras-2)
+ ("rust-terminfo" ,rust-terminfo-0.6)
+ ("rust-url" ,rust-url-2.1)
+ ("rust-vte" ,rust-vte-0.3)
+ ("rust-nix" ,rust-nix-0.15)
+ ("rust-miow" ,rust-miow-0.3)
+ ("rust-mio-anonymous-pipes" ,rust-mio-anonymous-pipes-0.1)
+ ("rust-mio-named-pipes" ,rust-mio-named-pipes-0.1)
+ ("rust-signal-hook" ,rust-signal-hook-0.1)
+ ("rust-clipboard-win" ,rust-clipboard-win-2.1)
+ ("rust-objc" ,rust-objc-0.2)
+ ("rust-objc-id" ,rust-objc-id-0.1)
+ ("rust-objc-foundation" ,rust-objc-foundation-0.1)
+ ("rust-x11-clipboard" ,rust-x11-clipboard-0.4)
+ ("rust-smithay-clipboard" ,rust-smithay-clipboard-0.3)
+ ("rust-wayland-client" ,rust-wayland-client-0.23)
+ ("rust-euclid" ,rust-euclid-0.20)
+ ("rust-foreign-types" ,rust-foreign-types-0.5)
+ ("rust-servo-fontconfig" ,rust-servo-fontconfig-0.4)
+ ("rust-freetype-rs" ,rust-freetype-rs-0.23)
+ ("rust-core-foundation" ,rust-core-foundation-0.6)
+ ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.6)
+ ("rust-core-text" ,rust-core-text-13)
+ ("rust-core-graphics" ,rust-core-graphics-0.17)
+ ("rust-dwrote" ,rust-dwrote-0.9)
+ ("rust-winpty-sys" ,rust-winpty-sys-0.4))
+ #:cargo-development-inputs
+ (("rust-rustc-tools-util" ,rust-rustc-tools-util-0.2)
+ ("rust-gl-generator" ,rust-gl-generator-0.14)
+ ("rust-andrew" ,rust-andrew-0.2)
+ ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.6)
+ ("rust-embed-resource" ,rust-embed-resource-1.3)
+ ("rust-http-req" ,rust-http-req-0.5)
+ ("rust-zip" ,rust-zip-0.5)
+ ("rust-tempfile" ,rust-tempfile-3.1)
+ ("rust-named-pipe" ,rust-named-pipe-0.4)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'configure 'patch-glutin-libgl-path
+ (lambda* (#:key inputs cargo-inputs vendor-dir #:allow-other-keys)
+ (let* ((glutin-name ,(package-name rust-glutin-0.22))
+ (glutin-version ,(package-version rust-glutin-0.22))
+ (src-api
+ (string-append
+ glutin-name "-" glutin-version ".tar.gz/src/api/"))
+ (mesa (assoc-ref inputs "mesa")))
+ (substitute* (string-append vendor-dir "/" src-api "glx/mod.rs")
+ (("libGL.so") (string-append mesa "/lib/libGL.so")))
+ (substitute* (string-append vendor-dir "/" src-api "egl/mod.rs")
+ (("libEGL.so") (string-append mesa "/lib/libEGL.so")))
+ #t)))
+ (add-after 'configure 'remove-alacritty-vendor
+ (lambda* (#:key vendor-dir #:allow-other-keys)
+ ;; We don't want Alacritty to be a dependency of itself
+ ;; If we don't delete it from guix-vendor then build will fail
+ ;; because Alacritty has a virtual workspace Cargo.toml.
+ (delete-file-recursively
+ (string-append vendor-dir "/alacritty-" ,version ".tar.xz"))
+ #t))
+ (replace 'install
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (share (string-append out "/share"))
+ (icons (string-append share "/icons/hicolor/scalable/apps"))
+ (tic (string-append (assoc-ref inputs "ncurses") "/bin/tic"))
+ (man (string-append share "/man/man1"))
+ (alacritty-bin "target/release/alacritty"))
+
+ ;; Install binary
+ (install-file alacritty-bin (string-append out "/bin"))
+
+ ;; Install man pages
+ (mkdir-p man)
+ (copy-file "extra/alacritty.man"
+ (string-append man "/alacritty.1"))
+
+ ;; Install desktop file
+ (install-file "extra/linux/alacritty.desktop"
+ (string-append share "/applications"))
+
+ ;; Install icon
+ (mkdir-p icons)
+ (copy-file "extra/logo/alacritty-term.svg"
+ (string-append icons "/Alacritty.svg"))
+
+ ;; Install terminfo
+ (mkdir-p (string-append share "/terminfo"))
+ ;; We don't compile alacritty-common entry because
+ ;; it's being used only for inheritance.
+ (invoke tic "-x" "-e" "alacritty,alacritty-direct"
+ "-o" (string-append share "/terminfo/")
+ "extra/alacritty.info")
+
+ ;; Install completions
+ (install-file
+ "extra/completions/alacritty.bash"
+ (string-append out "/etc/bash_completion.d"))
+ (install-file
+ "extra/completions/_alacritty"
+ (string-append share "/zsh/site-functions"))
+ (install-file
+ "extra/completions/alacritty.fish"
+ (string-append share "/fish/vendor_completions.d"))
+ #t))))))
+ (inputs
+ `(("expat" ,expat)
+ ("fontconfig" ,fontconfig)
+ ("freetype" ,freetype)
+ ("libx11" ,libx11)
+ ("libxcb" ,libxcb)
+ ("libxcursor" ,libxcursor)
+ ("libxi" ,libxi)
+ ("libxkbcommon" ,libxkbcommon)
+ ("libxrandr" ,libxrandr)
+ ("libxxf86vm" ,libxxf86vm)
+ ("wayland" ,wayland)
+ ("mesa" ,mesa)))
+ (native-inputs
+ `(("cmake" ,cmake)
+ ("ncurses" ,ncurses)
+ ("pkg-config" ,pkg-config)
+ ("python3" ,python)))
+ (home-page "https://github.com/alacritty/alacritty")
+ (synopsis "GPU-accelerated terminal emulator")
+ (description
+ "Alacritty is a GPU-accelerated terminal emulator with a strong focus on
+simplicity and performance. With such a strong focus on performance, included
+features are carefully considered and you can always expect Alacritty to be
+blazingly fast. By making sane choices for defaults, Alacritty requires no
+additional setup. However, it does allow configuration of many aspects of the
+terminal. Note that you need support for OpenGL 3.2 or higher.")
+ (license license:asl2.0)))
diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index 86910a63fd..8967bb127d 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -403,8 +403,8 @@ required structures.")
(home-page "https://www.openssl.org/")))
(define openssl-1.1.1d
- (package/inherit
- openssl
+ (package
+ (inherit openssl)
(version "1.1.1d")
(source (origin
(method url-fetch)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index ae6072f585..e34c20a3ab 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -3,7 +3,7 @@
;;; Copyright © 2013 Aljosha Papsch <misc@rpapsch.de>
;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
-;;; Copyright © 2015, 2016, 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2018 Raoul Jean Pierre Bonnal <ilpuccio.febo@gmail.com>
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Eric Bavier <bavier@posteo.net>
@@ -114,12 +114,14 @@
#:use-module (gnu packages libevent)
#:use-module (gnu packages libidn)
#:use-module (gnu packages libunistring)
+ #:use-module (gnu packages libunwind)
#:use-module (gnu packages linux)
#:use-module (gnu packages lisp-xyz)
#:use-module (gnu packages lua)
#:use-module (gnu packages markup)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages nss)
+ #:use-module (gnu packages openldap)
#:use-module (gnu packages openstack)
#:use-module (gnu packages base)
#:use-module (gnu packages package-management)
@@ -548,6 +550,67 @@ supported at your website.")
;; binary:
(package-license nginx)))))))
+(define-public lighttpd
+ (package
+ (name "lighttpd")
+ (version "1.4.55")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://download.lighttpd.net/lighttpd/"
+ "releases-" (version-major+minor version) ".x/"
+ "lighttpd-" version ".tar.xz"))
+ (sha256
+ (base32
+ "09z947730yjh438wrqb3z1c5hr1dbb11a8sr92g3vk6mr7lm02va"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:configure-flags
+ (list "--with-krb5"
+ "--with-ldap"
+ "--with-libev"
+ "--with-libunwind"
+ "--with-openssl"
+ "--with-pam"
+ "--with-sasl")
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'embed-/bin/sh-reference
+ (lambda _
+ (substitute* "src/mod_ssi.c"
+ (("/bin/sh") (which "sh")))
+ #t))
+ (add-after 'unpack 'fix-tests
+ (lambda _
+ (setenv "SHELL" (which "sh"))
+ ;; gethostbyaddr fails
+ (substitute* "tests/LightyTest.pm"
+ (("\\{HOSTNAME\\} = \\$name;")
+ "{HOSTNAME} = \"127.0.0.1\";"))
+ #t)))))
+ (inputs
+ `(("cyrus-sasl" ,cyrus-sasl)
+ ("libev" ,libev)
+ ("libunwind" ,libunwind)
+ ("linux-pam" ,linux-pam)
+ ("mit-krb5" ,mit-krb5)
+ ("openldap" ,openldap)
+ ("openssl" ,openssl)
+ ("pcre" ,pcre)
+ ("pcre:bin" ,pcre "bin")
+ ("zlib" ,zlib)))
+ (native-inputs
+ `(("perl" ,perl) ; for tests
+ ("pkg-config" ,pkg-config)
+ ("which" ,which)))
+ (home-page "https://www.lighttpd.net/")
+ (synopsis "Lightweight HTTP and reverse proxy server")
+ (description
+ "Lighttpd is a secure, fast, compliant, and very flexible web-server that
+has been optimized for high-performance environments. It has a very low
+memory footprint compared to other webservers. Its features include FastCGI,
+CGI, authentication, output compression, URL rewriting and many more.")
+ (license license:bsd-3)))
+
(define-public fcgi
(package
(name "fcgi")
@@ -7029,8 +7092,8 @@ compressed JSON header blocks.
;; 'Node' requires this newer version, to be removed on the next rebuild cycle.
(define-public nghttp2-1.40
- (package/inherit
- nghttp2
+ (package
+ (inherit nghttp2)
(version "1.40.0")
(source (origin
(method url-fetch)