.files/etc/guix-config/cobra/packages.scm

115 lines
3.9 KiB
Scheme
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(define-module (cobra packages)
#:use-module (guix)
#:use-module (guix build-system font)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject)
#:use-module (guix packages)
#:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (gnu packages base)
#:use-module (gnu packages bioinformatics)
#:use-module (gnu packages check)
#:use-module (gnu packages compression)
#:use-module (gnu packages docker)
#:use-module (gnu packages engineering)
#:use-module (gnu packages gl)
#:use-module (gnu packages libffi)
#:use-module (gnu packages libusb)
#:use-module (gnu packages linux)
#:use-module (gnu packages protobuf)
#:use-module (gnu packages python-build)
#:use-module (gnu packages python-check)
#:use-module (gnu packages python-crypto)
#:use-module (gnu packages python-web)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages security-token)
#:use-module (gnu packages serialization)
#:use-module (gnu packages time)
)
(define-public mesa-i915
(package (inherit mesa)
(name "mesa-i915")
(arguments
(list
#:configure-flags
#~(list "-Dgallium-drivers=svga,swrast,i915"
"-Dplatforms=x11,wayland"
"-Dglx=dri"
"-Dosmesa=true"
"-Dgles2=enabled"
"-Dgbm=enabled"
"-Dshared-glapi=enabled"
"-Dvulkan-drivers=intel,amd"
"-Dvulkan-layers=device-select,overlay"
"-Dvideo-codecs=vc1dec,h264dec,h264enc,h265dec,h265enc"
"-Dbuild-tests=true"
"-Dllvm=enabled")))))
;; Taken and modified from issue #44575
(define-public font-nerd-fonts-fira-code
(package
(name "font-nerd-fonts-fira-code")
(version "3.1.1")
(source
(origin
(method url-fetch)
(uri (string-append
"https://github.com/ryanoasis/nerd-fonts/releases/download/"
version "/FiraCode.tar.xz"))
(sha256
(base32
"1brqps4j1n57l4y25m38mjcsxhl1jdhiwf5dgi482zbfi89yx5l7"))))
(build-system font-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-before 'install 'make-files-writable
(lambda _
(for-each
make-file-writable
(find-files "." ".*\\.(otf|otc|ttf|ttc)$"))
#t)))))
(home-page "https://www.nerdfonts.com/")
(synopsis "Iconic font aggregator, collection, and patcher")
(description
"Nerd Fonts patches developer targeted fonts with a high number
of glyphs (icons). Specifically to add a high number of extra glyphs
from popular iconic fonts such as Font Awesome, Devicons, Octicons,
and others. Fira Code font.")
(license license:expat)))
(define-public font-nerd-fonts-fira-mono
(package
(name "font-nerd-fonts-fira-mono")
(version "3.1.1")
(source
(origin
(method url-fetch)
(uri (string-append
"https://github.com/ryanoasis/nerd-fonts/releases/download/"
version "/FiraMono.tar.xz"))
(sha256
(base32
"0gf2vd9zz33hjkm2l1nyk458j561x7mva6p2nc3ja92156q99ci2"))))
(build-system font-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-before 'install 'make-files-writable
(lambda _
(for-each
make-file-writable
(find-files "." ".*\\.(otf|otc|ttf|ttc)$"))
#t)))))
(home-page "https://www.nerdfonts.com/")
(synopsis "Iconic font aggregator, collection, and patcher")
(description
"Nerd Fonts patches developer targeted fonts with a high number
of glyphs (icons). Specifically to add a high number of extra glyphs
from popular iconic fonts such as Font Awesome, Devicons, Octicons,
and others. Fira Mono font.")
(license license:expat)))