mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: Add st.
* gnu/packages/dwm.scm (st): New variable.
This commit is contained in:
parent
4a3bcaee5a
commit
3a7334209e
1 changed files with 55 additions and 5 deletions
|
@ -1,5 +1,6 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2013 Cyril Roelandt <tipecaml@gmail.com>
|
;;; Copyright © 2013 Cyril Roelandt <tipecaml@gmail.com>
|
||||||
|
;;; Copyright © 2015 Amirouche Boubekki <amirouche@hypermove.net>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -17,12 +18,15 @@
|
||||||
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
(define-module (gnu packages dwm)
|
(define-module (gnu packages dwm)
|
||||||
#:use-module (guix licenses)
|
#:use-module ((guix licenses) #:prefix license:)
|
||||||
#:use-module (guix packages)
|
#:use-module (guix packages)
|
||||||
#:use-module (guix download)
|
#:use-module (guix download)
|
||||||
#:use-module (guix build-system gnu)
|
#:use-module (guix build-system gnu)
|
||||||
#:use-module (gnu packages)
|
#:use-module (gnu packages)
|
||||||
#:use-module (gnu packages xorg))
|
#:use-module (gnu packages xorg)
|
||||||
|
#:use-module (gnu packages fonts)
|
||||||
|
#:use-module (gnu packages pkg-config)
|
||||||
|
#:use-module (gnu packages fontutils))
|
||||||
|
|
||||||
(define-public dwm
|
(define-public dwm
|
||||||
(package
|
(package
|
||||||
|
@ -83,7 +87,7 @@ (define-public dwm
|
||||||
|
|
||||||
dwm draws a small customizable border around windows to indicate the focus
|
dwm draws a small customizable border around windows to indicate the focus
|
||||||
state.")
|
state.")
|
||||||
(license x11)))
|
(license license:x11)))
|
||||||
|
|
||||||
(define-public dmenu
|
(define-public dmenu
|
||||||
(package
|
(package
|
||||||
|
@ -111,7 +115,7 @@ (define-public dmenu
|
||||||
(description
|
(description
|
||||||
"A dynamic menu for X, originally designed for dwm. It manages large
|
"A dynamic menu for X, originally designed for dwm. It manages large
|
||||||
numbers of user-defined menu items efficiently.")
|
numbers of user-defined menu items efficiently.")
|
||||||
(license x11)))
|
(license license:x11)))
|
||||||
|
|
||||||
(define-public slock
|
(define-public slock
|
||||||
(package
|
(package
|
||||||
|
@ -138,4 +142,50 @@ (define-public slock
|
||||||
(synopsis "Simple X session lock")
|
(synopsis "Simple X session lock")
|
||||||
(description
|
(description
|
||||||
"Simple X session lock with trivial feedback on password entry.")
|
"Simple X session lock with trivial feedback on password entry.")
|
||||||
(license x11)))
|
(license license:x11)))
|
||||||
|
|
||||||
|
(define-public st
|
||||||
|
(package
|
||||||
|
(name "st")
|
||||||
|
(version "0.5")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append "http://dl.suckless.org/st/st-"
|
||||||
|
version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0knxpzaa86pprng6hak8hx8bw22yw22rpz1ffxjpcvqlz3xdv05f"))))
|
||||||
|
(build-system gnu-build-system)
|
||||||
|
(arguments
|
||||||
|
'(#:tests? #f ; no tests
|
||||||
|
#:make-flags (list "CC=gcc"
|
||||||
|
(string-append "PREFIX=" %output))
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(delete 'configure)
|
||||||
|
(add-after 'unpack 'inhibit-terminfo-install
|
||||||
|
(lambda _
|
||||||
|
(substitute* "Makefile"
|
||||||
|
(("\t@tic -s st.info") ""))
|
||||||
|
#t)))))
|
||||||
|
(inputs
|
||||||
|
`(("libx11" ,libx11)
|
||||||
|
("libxft" ,libxft)
|
||||||
|
("libxcomposite" ,libxcomposite)
|
||||||
|
("compositeproto" ,compositeproto)
|
||||||
|
("libxext" ,libxext)
|
||||||
|
("xextproto" ,xextproto)
|
||||||
|
("libxrender" ,libxrender)
|
||||||
|
("fontconfig" ,fontconfig)
|
||||||
|
("freetype" ,freetype)
|
||||||
|
("font-liberation" ,font-liberation)))
|
||||||
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
||||||
|
(home-page "http://st.suckless.org/")
|
||||||
|
(synopsis "Simple terminal emulator")
|
||||||
|
(description
|
||||||
|
"St implements a simple and lightweight terminal emulator. It
|
||||||
|
implements 256 colors, most VT10X escape sequences, utf8, X11 copy/paste,
|
||||||
|
antialiased fonts (using fontconfig), fallback fonts, resizing, and line
|
||||||
|
drawing.")
|
||||||
|
(license license:x11)))
|
||||||
|
|
Loading…
Reference in a new issue