guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] gnu: unison: Add "doc" output.


From: Eric Bavier
Subject: Re: [PATCH] gnu: unison: Add "doc" output.
Date: Fri, 8 Jan 2016 01:13:41 -0600

On Mon, 21 Dec 2015 11:39:10 +0100
address@hidden (Ludovic Courtès) wrote:

> Eric Bavier <address@hidden> skribis:
> 
> > On Sun, 20 Dec 2015 23:11:07 +0100
> > address@hidden (Ludovic Courtès) wrote:
> >  
> >> Eric Bavier <address@hidden> skribis:
> >>   
> >> > +(define (unison-doc ext version hash)
> >> > +  (origin
> >> > +    (method url-fetch)
> >> > +    (uri (string-append "https://www.seas.upenn.edu/~bcpierce/unison/";
> >> > +                        "download/releases/unison-" version "/unison-"
> >> > +                        version "-manual." ext))
> >> > +    (sha256 (base32 hash))))  
> >> 
> >> [...]
> >>   
> >> > +     `(("doc-pdf"
> >> > +        ,(unison-doc "pdf" version
> >> > +                     
> >> > "0y5mywjn352nw4wqli94gnc5vn1f72g56jqqk1nqajz0ark998nb"))
> >> > +       ("doc-ps"
> >> > +        ,(unison-doc "ps" version
> >> > +                     
> >> > "11awy1xxhmckwnx42hllmngmx8q4ck18vpwpgfqqhj0x8vx0b3ha"))
> >> > +       ("doc-html"
> >> > +        ,(unison-doc "html" version
> >> > +                     
> >> > "06myrpv067j5ffm265fm0a83gm41j9bv3ps3yiyb1hqgfy1qy3ah"))))  
> >> 
> >> Could we instead build them from source?  
> >
> > Possibly.  The documentation source is not available in the download
> > tarball, only in the developer svn repository, so we could do an svn
> > fetch of that.  Would that be alright?  
> 
> Sure.

Attached is an updated patch that pulls the unison source from the
developer svn repository and builds the documentation from that.  The
origin snippet is a bit more than I had hoped for, but it works.

`~Eric

Attachment: 0001-gnu-unison-Add-doc-output.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]