all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#54477] [PATCH] gnu: Add sbase.
@ 2022-03-20 14:49 路辉
  2022-03-20 15:19 ` bug#54477: " Maxime Devos
  0 siblings, 1 reply; 2+ messages in thread
From: 路辉 @ 2022-03-20 14:49 UTC (permalink / raw)
  To: 54477

[-- Attachment #1: Type: text/plain, Size: 1 bytes --]



[-- Attachment #2: 0001-gnu-Add-sbase.patch --]
[-- Type: text/x-patch, Size: 2662 bytes --]

From 9f3ff0979c033b85a3d82baf79f294cac7cf3a4d Mon Sep 17 00:00:00 2001
From: Lu Hui <luhux76@gmail.com>
Date: Sun, 20 Mar 2022 22:45:53 +0800
Subject: [PATCH] gnu: Add sbase.

* gnu/packages/suckless.scm (sbase): New Variables.
---
 gnu/packages/suckless.scm | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm
index 5aa37657b9..c367cc8f91 100644
--- a/gnu/packages/suckless.scm
+++ b/gnu/packages/suckless.scm
@@ -12,6 +12,7 @@
 ;;; Copyright © 2021 Alexandru-Sergiu Marton <brown121407@posteo.ro>
 ;;; Copyright © 2021 Nikolay Korotkiy <sikmir@disroot.org>
 ;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan@gmail.com>
+;;; Copyright © 2022 Lu Hui <luhux76@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1084,3 +1085,41 @@ (define-public sfeed
 various other formats.  There are also some programs and scripts included to
 import and export OPML and to fetch, filter, merge and order feed items.")
     (license license:isc)))
+
+(define-public sbase
+  (let ((commit "2c2a7f54ab55a022a617e510b6e00c3e2736fabd") (revision "0"))
+    (package
+      (name "sbase")
+      (version (git-version "20190904" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://git.suckless.org/sbase/")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "119v1lpgsx8bx9h57wg454ddhzz2awqavl3wrn35a704vifg28g0"))))
+      (build-system gnu-build-system)
+      (arguments
+       (list #:tests?
+             #f ;no check target
+             #:make-flags
+             #~(list (string-append "CC="
+                                    #$(cc-for-target))
+                     (string-append "PREFIX="
+                                    #$output))
+             #:phases
+             '(modify-phases %standard-phases
+                (replace 'install
+                  (lambda* (#:key outputs #:allow-other-keys)
+                    (let ((out (assoc-ref outputs "out")))
+                      (invoke "make" "install"
+                              (string-append "DESTDIR=" out) "PREFIX="))))
+                (delete 'configure)))) ;no configure script
+      (home-page "https://git.suckless.org/sbase/file/README.html")
+      (synopsis "Suckless unix tools set")
+      (description
+       "sbase is a collection of unix tools that are inherently portable
+across UNIX and UNIX-like systems.")
+      (license license:x11))))
-- 
2.34.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#54477: [PATCH] gnu: Add sbase.
  2022-03-20 14:49 [bug#54477] [PATCH] gnu: Add sbase 路辉
@ 2022-03-20 15:19 ` Maxime Devos
  0 siblings, 0 replies; 2+ messages in thread
From: Maxime Devos @ 2022-03-20 15:19 UTC (permalink / raw)
  To: 路辉, 54477-done

[-- Attachment #1: Type: text/plain, Size: 375 bytes --]

路辉 schreef op zo 20-03-2022 om 14:49 [+0000]:
> From 9f3ff0979c033b85a3d82baf79f294cac7cf3a4d Mon Sep 17 00:00:00
> 2001
> From: Lu Hui <luhux76@gmail.com>
> Date: Sun, 20 Mar 2022 22:45:53 +0800
> Subject: [PATCH] gnu: Add sbase.
> 
> * gnu/packages/suckless.scm (sbase): New Variables.

This is a duplicate of <https://issues.guix.gnu.org/53825>, so closing.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-03-20 15:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-20 14:49 [bug#54477] [PATCH] gnu: Add sbase 路辉
2022-03-20 15:19 ` bug#54477: " Maxime Devos

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.