gnu: toutenclic: Update to 7.00.
* gnu/packages/education.scm (toutenclic): Update to 7.00. [arguments]: Rename executable from "toutenclic.py" to "toutenclic".
This commit is contained in:
parent
1d86b05618
commit
f5557bde1c
1 changed files with 12 additions and 9 deletions
|
@ -309,14 +309,14 @@ to open the application in a web browser, for offline usage.")
|
||||||
(define-public toutenclic
|
(define-public toutenclic
|
||||||
(package
|
(package
|
||||||
(name "toutenclic")
|
(name "toutenclic")
|
||||||
(version "6.13")
|
(version "7.00")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "http://www.bipede.fr/downloads/logiciels/"
|
(uri (string-append "http://www.bipede.fr/downloads/logiciels/"
|
||||||
"ToutEnClic-" version ".tar.xz"))
|
"ToutEnClic-" version "-src.zip"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1pjprdzc4bn7ckbg4469691ph6yjjr8f022hb4gi4lacs4h71wnd"))))
|
(base32 "0xg24p925rl5bfqsq3jb2lrkidb0f3kbmay5iyxxmjsn3ra0blyh"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; no tests
|
`(#:tests? #f ; no tests
|
||||||
|
@ -328,17 +328,20 @@ to open the application in a web browser, for offline usage.")
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
(share (string-append out "/share/toutenclic"))
|
(share (string-append out "/share/toutenclic"))
|
||||||
(pixmaps (string-append out "/share/pixmaps"))
|
(pixmaps (string-append out "/share/pixmaps"))
|
||||||
|
(doc (string-append out "share/doc/" ,name "-" ,version))
|
||||||
(bin (string-append out "/bin"))
|
(bin (string-append out "/bin"))
|
||||||
(executable "toutenclic.py"))
|
(executable "toutenclic"))
|
||||||
;; Install icon.
|
;; Install icon.
|
||||||
(install-file "toutenclic.png" pixmaps)
|
(install-file "toutenclic.png" pixmaps)
|
||||||
;; Move files into "share/" directory.
|
;; Move files into "share/" directory.
|
||||||
(mkdir-p share)
|
(for-each (lambda (f) (install-file f share))
|
||||||
(copy-recursively "." share)
|
(find-files "." "\\.py$"))
|
||||||
|
;; Install documentation.
|
||||||
|
(install-file "ToutEnClic.pdf" doc)
|
||||||
;; Create executable in "bin/".
|
;; Create executable in "bin/".
|
||||||
(mkdir-p bin)
|
(mkdir-p bin)
|
||||||
(with-directory-excursion bin
|
(with-directory-excursion bin
|
||||||
(symlink (string-append share "/" executable)
|
(symlink (string-append share "/" executable ".py")
|
||||||
executable)))
|
executable)))
|
||||||
#t))
|
#t))
|
||||||
(add-after 'install 'create-desktop-file
|
(add-after 'install 'create-desktop-file
|
||||||
|
@ -353,8 +356,8 @@ to open the application in a web browser, for offline usage.")
|
||||||
"[Desktop Entry]~@
|
"[Desktop Entry]~@
|
||||||
Name=ToutEnClic~@
|
Name=ToutEnClic~@
|
||||||
Comment=For schooling without difference~@
|
Comment=For schooling without difference~@
|
||||||
Exec=~a/bin/toutenclic.py~@
|
Exec=~a/bin/toutenclic~@
|
||||||
TryExec=~@*~a/bin/toutenclic.py~@
|
TryExec=~@*~a/bin/toutenclic~@
|
||||||
Terminal=false~@
|
Terminal=false~@
|
||||||
Icon=toutenclic~@
|
Icon=toutenclic~@
|
||||||
Type=Application~%"
|
Type=Application~%"
|
||||||
|
|
Reference in a new issue