gnu: nginx-documentation: Update to 2019-03-01-2345-7ef11708457e.

* gnu/packages/web.scm (nginx-documentation): Update to 2019-03-01-2345-7ef11708457e.
[arguments]: Simplify substitution.
This commit is contained in:
Tobias Geerinckx-Rice 2019-03-11 00:23:53 +01:00
parent fd46742dd2
commit 266cd19eb9
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 6 additions and 7 deletions

View File

@ -329,13 +329,13 @@ documentation.")
(license l:bsd-2)))) (license l:bsd-2))))
(define-public nginx-documentation (define-public nginx-documentation
;; This documentation should be relevant for nginx@1.13.11. ;; This documentation should be relevant for nginx@1.15.9.
(let ((revision 2131) (let ((revision 2345)
(changeset "dbaf3950f8e9")) (changeset "7ef11708457e"))
(package (package
(name "nginx-documentation") (name "nginx-documentation")
(version (version
(simple-format #f "2018-04-04-~A-~A" revision changeset)) (simple-format #f "2019-03-01-~A-~A" revision changeset))
(source (source
(origin (method hg-fetch) (origin (method hg-fetch)
(uri (hg-reference (uri (hg-reference
@ -344,7 +344,7 @@ documentation.")
(file-name (string-append name "-" version)) (file-name (string-append name "-" version))
(sha256 (sha256
(base32 (base32
"0acdjsdaqixzh9g9s6db552v4pan4nqrllyqapay9ns9yzh1hrp7")))) "15975jvh53mnsgi4hhgrwdwy3by23v4kxnhy2vnkziq8v7wkmy4y"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:tests? #f ; no test suite '(#:tests? #f ; no test suite
@ -362,8 +362,7 @@ documentation.")
;; banner. ;; banner.
(substitute* "xslt/style.xslt" (substitute* "xslt/style.xslt"
(("#banner \\{ background: black;") (("#banner \\{ background: black;")
"#banner { background: black; "#banner { display: none;"))
display: none;"))
(invoke "make") (invoke "make")
#t))) #t)))
(replace 'install (replace 'install