unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add slock.
@ 2014-12-07 17:54 Tomáš Čech
  2014-12-07 18:37 ` David Thompson
  0 siblings, 1 reply; 4+ messages in thread
From: Tomáš Čech @ 2014-12-07 17:54 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/dwm.scm (slock): New variable.
---
 gnu/packages/dwm.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/dwm.scm b/gnu/packages/dwm.scm
index 88758f2..2db2010 100644
--- a/gnu/packages/dwm.scm
+++ b/gnu/packages/dwm.scm
@@ -112,3 +112,31 @@ state.")
      "A dynamic menu for X, originally designed for dwm.  It manages large
 numbers of user-defined menu items efficiently.")
     (license x11)))
+
+(define-public slock
+  (package
+    (name "slock")
+    (version "1.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "http://dl.suckless.org/tools/slock-"
+                                  version ".tar.gz"))
+              (sha256
+               (base32
+                "1r70s3npmp0nyrfdsxz8cw1i1z8n9phqdlw02wjphv341h3yajp0"))))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:tests? #f
+       #:make-flags (list "CC=gcc"
+                          (string-append "PREFIX=" %output))
+       #:phases
+       (alist-delete 'configure %standard-phases)))
+    (inputs
+     `(("libx11" ,libx11)
+       ("libxext" ,libxext)
+       ("libxinerama" ,libxinerama)))
+    (home-page "http://tools.suckless.org/slock/")
+    (synopsis "Simple X session lock")
+    (description
+     "Simple X session lock with trivial feedback on password entry.")
+    (license x11)))
-- 
2.0.4

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

* Re: [PATCH] gnu: Add slock.
  2014-12-07 17:54 [PATCH] gnu: Add slock Tomáš Čech
@ 2014-12-07 18:37 ` David Thompson
  2014-12-08  9:17   ` Tomáš Čech
  0 siblings, 1 reply; 4+ messages in thread
From: David Thompson @ 2014-12-07 18:37 UTC (permalink / raw)
  To: Tomáš Čech, guix-devel

Tomáš Čech <sleep_walker@suse.cz> writes:

> * gnu/packages/dwm.scm (slock): New variable.
> ---
>  gnu/packages/dwm.scm | 28 ++++++++++++++++++++++++++++
>  1 file changed, 28 insertions(+)
>
> diff --git a/gnu/packages/dwm.scm b/gnu/packages/dwm.scm
> index 88758f2..2db2010 100644
> --- a/gnu/packages/dwm.scm
> +++ b/gnu/packages/dwm.scm
> @@ -112,3 +112,31 @@ state.")
>       "A dynamic menu for X, originally designed for dwm.  It manages large
>  numbers of user-defined menu items efficiently.")
>      (license x11)))
> +
> +(define-public slock
> +  (package
> +    (name "slock")
> +    (version "1.1")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append "http://dl.suckless.org/tools/slock-"
> +                                  version ".tar.gz"))
> +              (sha256
> +               (base32
> +                "1r70s3npmp0nyrfdsxz8cw1i1z8n9phqdlw02wjphv341h3yajp0"))))
> +    (build-system gnu-build-system)
> +    (arguments
> +     '(#:tests? #f

Please explain why tests are disabled with a comment.

> +       #:make-flags (list "CC=gcc"
> +                          (string-append "PREFIX=" %output))
> +       #:phases
> +       (alist-delete 'configure %standard-phases)))

A nitpick, but I think it looks better if there isn't a newline between
this and #:phases.

> +    (inputs
> +     `(("libx11" ,libx11)
> +       ("libxext" ,libxext)
> +       ("libxinerama" ,libxinerama)))
> +    (home-page "http://tools.suckless.org/slock/")
> +    (synopsis "Simple X session lock")
> +    (description
> +     "Simple X session lock with trivial feedback on password entry.")
> +    (license x11)))
> -- 
> 2.0.4
>
>

Looking good to me!  Thanks!

-- 
David Thompson
Web Developer - Free Software Foundation - http://fsf.org
GPG Key: 0FF1D807
Support the FSF: https://fsf.org/donate

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

* [PATCH] gnu: Add slock.
  2014-12-07 18:37 ` David Thompson
@ 2014-12-08  9:17   ` Tomáš Čech
  2014-12-09 12:19     ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Tomáš Čech @ 2014-12-08  9:17 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/dwm.scm (slock): New variable.
---
 gnu/packages/dwm.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/dwm.scm b/gnu/packages/dwm.scm
index 88758f2..1a02aa3 100644
--- a/gnu/packages/dwm.scm
+++ b/gnu/packages/dwm.scm
@@ -112,3 +112,30 @@ state.")
      "A dynamic menu for X, originally designed for dwm.  It manages large
 numbers of user-defined menu items efficiently.")
     (license x11)))
+
+(define-public slock
+  (package
+    (name "slock")
+    (version "1.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "http://dl.suckless.org/tools/slock-"
+                                  version ".tar.gz"))
+              (sha256
+               (base32
+                "1r70s3npmp0nyrfdsxz8cw1i1z8n9phqdlw02wjphv341h3yajp0"))))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:tests? #f ; no tests
+       #:make-flags (list "CC=gcc"
+                          (string-append "PREFIX=" %output))
+       #:phases (alist-delete 'configure %standard-phases)))
+    (inputs
+     `(("libx11" ,libx11)
+       ("libxext" ,libxext)
+       ("libxinerama" ,libxinerama)))
+    (home-page "http://tools.suckless.org/slock/")
+    (synopsis "Simple X session lock")
+    (description
+     "Simple X session lock with trivial feedback on password entry.")
+    (license x11)))
-- 
2.0.4

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

* Re: [PATCH] gnu: Add slock.
  2014-12-08  9:17   ` Tomáš Čech
@ 2014-12-09 12:19     ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2014-12-09 12:19 UTC (permalink / raw)
  To: Tomáš Čech; +Cc: guix-devel

Tomáš Čech <sleep_walker@suse.cz> skribis:

> * gnu/packages/dwm.scm (slock): New variable.

Applied, thanks!

Ludo’.

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

end of thread, other threads:[~2014-12-09 12:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-07 17:54 [PATCH] gnu: Add slock Tomáš Čech
2014-12-07 18:37 ` David Thompson
2014-12-08  9:17   ` Tomáš Čech
2014-12-09 12:19     ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).