From: Jakub Czajka Date: Sat, 24 Dec 2022 12:31:41 +0000 (+0100) Subject: [home] Install custom st. X-Git-Url: https://git.ekhem.eu.org/?a=commitdiff_plain;h=43e8a1c79ced6d99a8c9d1d028702fca24f1ca96;p=guix.git [home] Install custom st. This commit installs custom version of the st terminal. It includes the libxft-bgra patche and more. The source code is obtained from a self-hosted git instance. --- diff --git a/conf/home/suckless.scm b/conf/home/suckless.scm new file mode 100644 index 0000000..3dd7d5b --- /dev/null +++ b/conf/home/suckless.scm @@ -0,0 +1,30 @@ +;; Copyright (c) 2022 Jakub Czajka +;; License: GPL-3.0 or later. +;; +;; suckless.scm - packages with custom versions of suckless software. Source code +;; is obtainted from self-hosted repositories. + +(define-module (conf home suckless) + #:use-module (conf common suckless) + #:use-module (gnu packages suckless) + #:use-module (guix git-download) + #:use-module (guix packages) + #:export (st-libxft-bgra)) + +(define st-libxft-bgra + (package + (inherit st) + (name "st-bgra") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://git.ekhem.eu.org/st.git") + (commit "8d6284529f38224a8f66fe2469669331cdd4af2f"))) + (sha256 + (base32 + "1l0ch3sm3nwp3q3zkrhbwn45q5f3w8bzl9j7nvmsjmwd1nl4jfxh")))) + (inputs + (modify-inputs (package-inputs st) + (delete "libxft") + (append libxft-bgra))))) diff --git a/home.scm b/home.scm index ed02dd1..498b6d1 100644 --- a/home.scm +++ b/home.scm @@ -6,10 +6,13 @@ (use-modules (conf home bash) (conf home desktop) (conf home emacs) + (conf home suckless) (gnu packages package-management)) (home-environment - (packages (list stow)) + (packages + (list st-libxft-bgra + stow)) (services (append (list autorandr-service)