gnu: Add tabbed.
* gnu/packages/suckless.scm (tabbed): New variable.
This commit is contained in:
parent
dc151c8fb1
commit
d26a7a5e4b
1 changed files with 46 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
||||||
;;; Copyright © 2016 Eric Bavier <bavier@member.fsf.org>
|
;;; Copyright © 2016 Eric Bavier <bavier@member.fsf.org>
|
||||||
;;; Copyright © 2017 Alex Griffin <a@ajgrf.com>
|
;;; Copyright © 2017 Alex Griffin <a@ajgrf.com>
|
||||||
;;; Copyright © 2018–2021 Tobias Geerinckx-Rice <me@tobias.gr>
|
;;; Copyright © 2018–2021 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||||
|
;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -49,6 +50,51 @@
|
||||||
#:use-module (guix utils)
|
#:use-module (guix utils)
|
||||||
#:use-module (guix packages))
|
#:use-module (guix packages))
|
||||||
|
|
||||||
|
(define-public tabbed
|
||||||
|
(package
|
||||||
|
(name "tabbed")
|
||||||
|
(version "0.6")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append "https://dl.suckless.org/tools/tabbed-"
|
||||||
|
version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "0hhwckyzvsj9aim2l6m69wmvl2n7gzd6b1ly8qjnlpgcrcxfllbn"))))
|
||||||
|
(build-system gnu-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:tests? #f ; no check target
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'patch
|
||||||
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
|
(substitute* "config.mk"
|
||||||
|
(("/usr/local")
|
||||||
|
(assoc-ref outputs "out"))
|
||||||
|
(("/usr/X11R6")
|
||||||
|
(assoc-ref inputs "libx11"))
|
||||||
|
(("/usr/include/freetype2")
|
||||||
|
(string-append (assoc-ref inputs "freetype")
|
||||||
|
"/include/freetype2"))
|
||||||
|
(("CC = cc")
|
||||||
|
(string-append "CC = " ,(cc-for-target))))))
|
||||||
|
(delete 'configure)))) ; no configure script
|
||||||
|
(inputs
|
||||||
|
`(("fontconfig" ,fontconfig)
|
||||||
|
("freetype" ,freetype)
|
||||||
|
("libx11" ,libx11)
|
||||||
|
("libxft" ,libxft)))
|
||||||
|
(home-page "https://tools.suckless.org/tabbed/")
|
||||||
|
(synopsis "Tab interface for application supporting Xembed")
|
||||||
|
(description "Tabbed is a generic tabbed frontend to xembed-aware
|
||||||
|
applications. It was originally designed for surf but also usable with many
|
||||||
|
other applications, i.e. st, uzbl, urxvt and xterm.")
|
||||||
|
(license
|
||||||
|
;; Dual-licensed.
|
||||||
|
(list
|
||||||
|
license:expat
|
||||||
|
license:x11))))
|
||||||
|
|
||||||
(define-public slstatus
|
(define-public slstatus
|
||||||
;; No release tarballs yet.
|
;; No release tarballs yet.
|
||||||
(let ((commit "84a2f117a32f0796045941260cdc4b69852b41e0")
|
(let ((commit "84a2f117a32f0796045941260cdc4b69852b41e0")
|
||||||
|
|
Reference in a new issue