all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Thompson <dthompson2@worcester.edu>
To: "Tomáš Čech" <sleep_walker@suse.cz>, guix-devel@gnu.org
Subject: Re: [PATCH] gnu: Add slock.
Date: Sun, 07 Dec 2014 13:37:57 -0500	[thread overview]
Message-ID: <87oarffgqi.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <1417974880-1252-1-git-send-email-sleep_walker@suse.cz>

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

  reply	other threads:[~2014-12-07 18:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-07 17:54 [PATCH] gnu: Add slock Tomáš Čech
2014-12-07 18:37 ` David Thompson [this message]
2014-12-08  9:17   ` Tomáš Čech
2014-12-09 12:19     ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87oarffgqi.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me \
    --to=dthompson2@worcester.edu \
    --cc=guix-devel@gnu.org \
    --cc=sleep_walker@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.