mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: noweb: Update to 2.12.
* gnu/packages/noweb.scm (noweb): Update to 2.12. [source]: Switch to git repository. [arguments]: Remove obsolete substitution. [license]: Add BSD-2.
This commit is contained in:
parent
bd9f588b37
commit
dc26c8c533
1 changed files with 14 additions and 15 deletions
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
(define-module (gnu packages noweb)
|
(define-module (gnu packages noweb)
|
||||||
#:use-module (guix packages)
|
#:use-module (guix packages)
|
||||||
#:use-module (guix download)
|
#:use-module (guix git-download)
|
||||||
#:use-module (guix build-system gnu)
|
#:use-module (guix build-system gnu)
|
||||||
#:use-module (guix licenses)
|
#:use-module (guix licenses)
|
||||||
#:use-module (gnu packages perl))
|
#:use-module (gnu packages perl))
|
||||||
|
@ -27,14 +27,16 @@ (define-module (gnu packages noweb)
|
||||||
(define-public noweb
|
(define-public noweb
|
||||||
(package
|
(package
|
||||||
(name "noweb")
|
(name "noweb")
|
||||||
(version "2.11b")
|
(version "2.12")
|
||||||
(source (origin
|
(source
|
||||||
(method url-fetch)
|
(origin
|
||||||
(uri (string-append "ftp://www.eecs.harvard.edu/pub/nr/noweb-"
|
(method git-fetch)
|
||||||
version ".tgz"))
|
(uri (git-reference
|
||||||
(sha256
|
(url "https://github.com/nrnrnr/noweb")
|
||||||
(base32
|
(commit (string-append "v" (string-join (string-split version #\.)
|
||||||
"10hdd6mrk26kyh4bnng4ah5h1pnanhsrhqa7qwqy6dyv3rng44y9"))))
|
"_")))))
|
||||||
|
(sha256
|
||||||
|
(base32 "1160i2ghgzqvnb44kgwd6s3p4jnk9668rmc15jlcwl7pdf3xqm95"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
'(#:phases
|
||||||
|
@ -83,11 +85,6 @@ (define-public noweb
|
||||||
(lambda _
|
(lambda _
|
||||||
;; Jump in the source.
|
;; Jump in the source.
|
||||||
(chdir "src")
|
(chdir "src")
|
||||||
|
|
||||||
;; The makefile reads "source: FAQ", but FAQ isn't
|
|
||||||
;; available.
|
|
||||||
(substitute* "Makefile"
|
|
||||||
(("FAQ") ""))
|
|
||||||
#t)))
|
#t)))
|
||||||
#:make-flags (let ((out (assoc-ref %outputs "out")))
|
#:make-flags (let ((out (assoc-ref %outputs "out")))
|
||||||
(list (string-append "BIN=" out "/bin")
|
(list (string-append "BIN=" out "/bin")
|
||||||
|
@ -108,4 +105,6 @@ (define-public noweb
|
||||||
WEB's 27. The noweb manual is only 4 pages; an additional page explains how
|
WEB's 27. The noweb manual is only 4 pages; an additional page explains how
|
||||||
to customize its LaTeX output. noweb works “out of the box” with any
|
to customize its LaTeX output. noweb works “out of the box” with any
|
||||||
programming language, and supports TeX, LaTeX, HTML, and troff back ends.")
|
programming language, and supports TeX, LaTeX, HTML, and troff back ends.")
|
||||||
(license (fsf-free "https://www.cs.tufts.edu/~nr/noweb/#copyright"))))
|
(license
|
||||||
|
(list bsd-2 ; dual-licenced under this and…
|
||||||
|
(fsf-free "https://www.cs.tufts.edu/~nr/noweb/#copyright")))))
|
||||||
|
|
Loading…
Reference in a new issue