gnu: scintilla: Use string-delete to compute source URL.
* gnu/packages/text-editors.scm (scintilla) [source]: Use string-delete instead of string-split and string-append.
This commit is contained in:
parent
87cf2a859d
commit
0e55391482
1 changed files with 4 additions and 6 deletions
|
|
@ -1006,8 +1006,8 @@ The basic features of Text Pieces are:
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (let ((v (apply string-append (string-split version #\.))))
|
(uri (string-append "https://www.scintilla.org/scintilla"
|
||||||
(string-append "https://www.scintilla.org/scintilla" v ".tgz")))
|
(string-delete #\. version) ".tgz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0inbhzqdikisvnbdzn8153p1apbghxjzkkzji9i8zsdpyapb209z"))))
|
(base32 "0inbhzqdikisvnbdzn8153p1apbghxjzkkzji9i8zsdpyapb209z"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
|
|
@ -1030,10 +1030,8 @@ The basic features of Text Pieces are:
|
||||||
(find-files "bin/" "\\.so$"))
|
(find-files "bin/" "\\.so$"))
|
||||||
(for-each (lambda (f) (install-file f inc))
|
(for-each (lambda (f) (install-file f inc))
|
||||||
(find-files "include/" "."))))))))
|
(find-files "include/" "."))))))))
|
||||||
(native-inputs
|
(native-inputs (list pkg-config python-wrapper))
|
||||||
(list pkg-config python-wrapper))
|
(inputs (list gtk+))
|
||||||
(inputs
|
|
||||||
(list gtk+))
|
|
||||||
(home-page "https://www.scintilla.org/")
|
(home-page "https://www.scintilla.org/")
|
||||||
(synopsis "Code editor for GTK+")
|
(synopsis "Code editor for GTK+")
|
||||||
(description "Scintilla is a source code editing component for
|
(description "Scintilla is a source code editing component for
|
||||||
|
|
|
||||||
Reference in a new issue