gnu: Add texlive-babel-french.
* gnu/packages/tex.scm (texlive-babel-french): New variable. (texlive-generic-babel-french): Deprecate variable.
This commit is contained in:
		
							parent
							
								
									de52208030
								
							
						
					
					
						commit
						d024a21fbe
					
				
					 1 changed files with 29 additions and 19 deletions
				
			
		| 
						 | 
					@ -4049,25 +4049,35 @@ for British English and Australian text, and default (\"american\") patterns
 | 
				
			||||||
for Canadian and USA text.")
 | 
					for Canadian and USA text.")
 | 
				
			||||||
    (license license:lppl1.3+)))
 | 
					    (license license:lppl1.3+)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public texlive-generic-babel-french
 | 
					(define-public texlive-babel-french
 | 
				
			||||||
 | 
					  (let ((template
 | 
				
			||||||
 | 
					         (simple-texlive-package
 | 
				
			||||||
 | 
					          "texlive-babel-french"
 | 
				
			||||||
 | 
					          (list "doc/generic/babel-french/"
 | 
				
			||||||
 | 
					                "source/generic/babel-french/"
 | 
				
			||||||
 | 
					                "tex/generic/babel-french/")
 | 
				
			||||||
 | 
					          (base32 "0cgn4dq5wnlfh9wddjzxsf7p56pk29lyndg56zg6558y7xf67cw8"))))
 | 
				
			||||||
    (package
 | 
					    (package
 | 
				
			||||||
    (name "texlive-generic-babel-french")
 | 
					      (inherit template)
 | 
				
			||||||
    (version (number->string %texlive-revision))
 | 
					      (arguments
 | 
				
			||||||
    (source
 | 
					       (substitute-keyword-arguments (package-arguments template)
 | 
				
			||||||
     (origin
 | 
					         ((#:tex-directory _ '())
 | 
				
			||||||
       (method svn-fetch)
 | 
					          "generic/babel-french")
 | 
				
			||||||
       (uri (texlive-ref "generic" "babel-french"))
 | 
					         ((#:build-targets _ '())
 | 
				
			||||||
       (file-name (string-append name "-" version "-checkout"))
 | 
					          ''("frenchb.ins"))           ; TODO: use dtx and build documentation
 | 
				
			||||||
       (sha256
 | 
					         ((#:phases phases)
 | 
				
			||||||
        (base32 "0ww8bkbccacdyp2y3p2m1y49zxx5pyh7dyyyyfmlzfm6w9rz0g1g"))))
 | 
					          `(modify-phases ,phases
 | 
				
			||||||
    (build-system texlive-build-system)
 | 
					             (add-after 'unpack 'chdir
 | 
				
			||||||
    (arguments '(#:tex-directory "generic/babel-french"))
 | 
					               (lambda _ (chdir "source/generic/babel-french")))))))
 | 
				
			||||||
    (home-page "https://www.ctan.org/pkg/babel-french")
 | 
					      (home-page "https://ctan.org/macros/latex/contrib/babel-contrib/french")
 | 
				
			||||||
    (synopsis "Babel support for French")
 | 
					      (synopsis "Babel contributed support for French")
 | 
				
			||||||
      (description
 | 
					      (description
 | 
				
			||||||
     "This package provides support for the French language for the
 | 
					       "The package, formerly known as frenchb, establishes French conventions
 | 
				
			||||||
babel multilingual system.")
 | 
					in a document (or a subset of the conventions, if French is not the main
 | 
				
			||||||
    (license license:lppl1.3+)))
 | 
					language of the document).")
 | 
				
			||||||
 | 
					      (license license:lppl1.3+))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define-deprecated-package texlive-generic-babel-french texlive-babel-french)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public texlive-generic-babel-german
 | 
					(define-public texlive-generic-babel-german
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue