From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: Re: [PATCH] gnu: Add slock. Date: Sun, 07 Dec 2014 13:37:57 -0500 Message-ID: <87oarffgqi.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> References: <1417974880-1252-1-git-send-email-sleep_walker@suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42911) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xxgib-0005D0-Ii for guix-devel@gnu.org; Sun, 07 Dec 2014 13:38:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XxgiZ-0005iP-6Y for guix-devel@gnu.org; Sun, 07 Dec 2014 13:38:05 -0500 Received: from mail.fsf.org ([208.118.235.13]:34452) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XxgiZ-0005iL-3j for guix-devel@gnu.org; Sun, 07 Dec 2014 13:38:03 -0500 In-Reply-To: <1417974880-1252-1-git-send-email-sleep_walker@suse.cz> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: =?utf-8?B?VG9tw6HFoSDEjGVjaA==?= , guix-devel@gnu.org Tom=C3=A1=C5=A1 =C4=8Cech 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 lar= ge > 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=3Dgcc" > + (string-append "PREFIX=3D" %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))) > --=20 > 2.0.4 > > Looking good to me! Thanks! --=20 David Thompson Web Developer - Free Software Foundation - http://fsf.org GPG Key: 0FF1D807 Support the FSF: https://fsf.org/donate