me
/
guix
Archived
1
0
Fork 0

gnu: djvusmooth: Fix path to djvused.

* gnu/packages/djvu.scm (djvusmooth)[arguments]: Add 'fix-paths' phase.
master
Guillaume Le Vaillant 2020-11-26 09:37:34 +01:00
parent 824a9f1060
commit 446ec88a40
No known key found for this signature in database
GPG Key ID: 6BE8208ADF21FE3F
1 changed files with 10 additions and 1 deletions

View File

@ -295,7 +295,16 @@ and white.")
("python2-subprocess32" ,python2-subprocess32)
("python2-wxpython" ,python2-wxpython)))
(arguments
`(#:python ,python-2))
`(#:python ,python-2
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'fix-paths
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "lib/djvused.py"
(("djvused_path = 'djvused'")
(string-append "djvused_path = '"
(assoc-ref inputs "djvulibre")
"/bin/djvused'"))))))))
(synopsis "Graphical editor for DjVu documents")
(description
"@code{djvusmooth} is a graphical editor for DjVu_ documents.