unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kete <kete@ninthfloor.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: Package Definition Place
Date: Fri, 03 Jan 2014 20:10:56 -0500	[thread overview]
Message-ID: <5816667.J2aAP2f9Oe@knossos> (raw)
In-Reply-To: <87k3ehnldt.fsf@gnu.org>

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

On Friday, January 03, 2014 04:19:26 PM Ludovic Courtès wrote:
> It is called ‘x11’ (to avoid ambiguity with other licenses originating
> from MIT) in the (guix licenses) module.  So you would write
> 
>    (define-module (gnu packages zsh)
>       ...
>        (license (x11-style "http://url-of/the/license"))
> 
> > 	guix build: error: zsh: unknown package
> 
> That will be solved by the above.
> 
> HTH!

Thanks, that did help, but I got the following error:
	checking if tcsetpgrp() actually works... notty
	configure: error: no controlling tty
	Try running configure with --with-tcsetpgrp or --without-tcsetpgrp
I tried the first flag, but it "failed to match any pattern in form". I was 
copying the bash.scm, but I'm not sure if Zsh needs the readline and texinfo 
stuff. Maybe I should just attach my package definition as Nikita requested. 
It's attached.

By the way, the license also says some of the scripts are licensed with the 
GPL.

[-- Attachment #2: zsh.scm --]
[-- Type: text/x-scheme, Size: 1292 bytes --]

(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/")))

  reply	other threads:[~2014-01-04  1:11 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-30  3:55 Package Definition Place Kete
2013-12-30  7:16 ` John Darrington
2013-12-31  0:37   ` Kete
2014-01-01 12:52     ` John Darrington
2014-01-01 16:05       ` Kete
     [not found] ` <1458111.8sUPPTkUlg@knossos>
     [not found]   ` <20140101160917.GA13487@intra>
2014-01-01 16:32     ` Kete
2014-01-01 16:50       ` John Darrington
2014-01-01 19:13         ` Kete
2014-01-01 19:55           ` John Darrington
2014-01-01 20:38             ` Kete
2014-01-01 22:30             ` Kete
2014-01-02  2:44               ` Nikita Karetnikov
2014-01-02  2:50                 ` Nikita Karetnikov
2014-01-02 10:06                   ` Kete
2014-01-02 14:58                     ` Nikita Karetnikov
2014-01-02 23:45                       ` Kete
2014-01-03  2:28                 ` Kete
2014-01-03  5:50                   ` John Darrington
2014-01-03 11:37                     ` Kete
2014-01-03 15:16                       ` Nikita Karetnikov
2014-01-03 15:19                       ` Ludovic Courtès
2014-01-04  1:10                         ` Kete [this message]
2014-01-04  7:15                           ` John Darrington
2014-01-04 21:21                             ` Kete
2014-01-04 22:25                               ` John Darrington
2014-01-05 18:21                               ` Ludovic Courtès
2014-01-04 11:47                           ` Ludovic Courtès
2014-01-04 21:31                             ` Kete
2014-01-05 17:57                               ` 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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=5816667.J2aAP2f9Oe@knossos \
    --to=kete@ninthfloor.org \
    --cc=guix-devel@gnu.org \
    --cc=ludo@gnu.org \
    /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 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).