summary refs log tree commit diff
path: root/gnu/packages/suckless.scm
diff options
context:
space:
mode:
authorRaghav Gururajan <rg@raghavgururajan.name>2021-08-06 08:21:49 -0400
committerRaghav Gururajan <rg@raghavgururajan.name>2021-08-06 08:26:57 -0400
commit1711f529312792ed9cfd5656d166d4f466f6d48d (patch)
tree4428d78691445c81c93eefa4c2ae019eac12ed04 /gnu/packages/suckless.scm
parentd26a7a5e4bf345ecd61251458fd78aa4747edaba (diff)
downloadguix-1711f529312792ed9cfd5656d166d4f466f6d48d.tar.gz
gnu: Add slscroll.
* gnu/packages/suckless.scm (slscroll): New variable.
Diffstat (limited to 'gnu/packages/suckless.scm')
-rw-r--r--gnu/packages/suckless.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm
index 28e79e1591..b24eced379 100644
--- a/gnu/packages/suckless.scm
+++ b/gnu/packages/suckless.scm
@@ -50,6 +50,33 @@
   #:use-module (guix utils)
   #:use-module (guix packages))
 
+(define-public slscroll
+  (package
+    (name "slscroll")
+    (version "0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://dl.suckless.org/tools/scroll-"
+                           version ".tar.gz"))
+       (sha256
+        (base32 "1mpfrvn122lnaqid1pi99ckpxd6x679b0w91pl003xmdwsfdbcly"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f                      ; no check target
+       #:make-flags
+       (list
+        (string-append "CC=" ,(cc-for-target))
+        (string-append "PREFIX=" %output))
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure))))         ; no configure script
+    (home-page "https://tools.suckless.org/scroll/")
+    (synopsis "Scroll-back buffer program for st")
+    (description "Scroll is a program that provides a scroll back buffer for
+terminal like @code{st}.")
+    (license license:isc)))
+
 (define-public tabbed
   (package
     (name "tabbed")