From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kete Subject: Re: Package Definition Place Date: Fri, 03 Jan 2014 20:10:56 -0500 Message-ID: <5816667.J2aAP2f9Oe@knossos> References: <1471744.UPeTPsttfJ@knossos> <1524895.hciPEQfdFj@knossos> <87k3ehnldt.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart2660308.12KQ7kftDk" Content-Transfer-Encoding: 7Bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39524) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VzFli-0006En-1g for guix-devel@gnu.org; Fri, 03 Jan 2014 20:11:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VzFlU-0006Pm-Ot for guix-devel@gnu.org; Fri, 03 Jan 2014 20:11:13 -0500 Received: from ninthfloor.org ([2a01:7e00::f03c:91ff:fe96:8a17]:41580 helo=mail.ninthfloor.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VzFlU-0006PR-IF for guix-devel@gnu.org; Fri, 03 Jan 2014 20:11:00 -0500 In-Reply-To: <87k3ehnldt.fsf@gnu.org> 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: Ludovic =?ISO-8859-1?Q?Court=E8s?= Cc: guix-devel@gnu.org This is a multi-part message in MIME format. --nextPart2660308.12KQ7kftDk Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" On Friday, January 03, 2014 04:19:26 PM Ludovic Court=C3=A8s wrote: > It is called =E2=80=98x11=E2=80=99 (to avoid ambiguity with other lic= enses originating > from MIT) in the (guix licenses) module. So you would write >=20 > (define-module (gnu packages zsh) > ... > (license (x11-style "http://url-of/the/license")) >=20 > > =09guix build: error: zsh: unknown package >=20 > That will be solved by the above. >=20 > HTH! Thanks, that did help, but I got the following error: =09checking if tcsetpgrp() actually works... notty =09configure: error: no controlling tty =09Try running configure with --with-tcsetpgrp or --without-tcsetpgrp I tried the first flag, but it "failed to match any pattern in form". I= was=20 copying the bash.scm, but I'm not sure if Zsh needs the readline and te= xinfo=20 stuff. Maybe I should just attach my package definition as Nikita reque= sted.=20 It's attached. By the way, the license also says some of the scripts are licensed with= the=20 GPL. --nextPart2660308.12KQ7kftDk Content-Disposition: attachment; filename="zsh.scm" Content-Transfer-Encoding: 7Bit Content-Type: text/x-scheme; charset="UTF-8"; name="zsh.scm" (define-module (gnu packages zsh) #:use-module (guix licenses) ;; #:use-module (gnu packages ncurses) ;; #:use-module (gnu packages readline) ;; #:use-module (gnu packages texinfo) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system gnu)) (define-public zsh (let* ((configure-flags ``("--with-tcsetpgrp")))) (package (name "zsh") (version "5.0.2") (source (origin (method url-fetch) (uri (string-append "ftp://ftp.zsh.org/zsh/zsh.tar.bz2")) (sha256 (base32 "1s2fvv0zfpi0qg9fzhiv8ac19pwbbjd0sbsbzmll3nqa8k4yfvz9")))) (build-system gnu-build-system) (inputs `(("readline" ,readline) ("ncurses" ,ncurses) ("texinfo" ,texinfo))) (synopsis "Z Shell") (description "Zsh is a UNIX command interpreter (shell) usable as an interactive login shell and as a shell script command processor. Of the standard shells, zsh most closely resembles ksh but includes many enhancements. Zsh has command line editing, builtin spelling correction, programmable command completion, shell functions (with autoloading), a history mechanism, and a host of other features.") (license (x11-style "http://sourceforge.net/p/zsh/code/ci/master/tree/LICENCE")) (home-page "http://www.zsh.org/"))) --nextPart2660308.12KQ7kftDk--