packages: text-editors: Fix indentation

main
Luis Guilherme Coelho 2024-07-24 21:10:30 -03:00
parent e7dc4a2999
commit 095bcb82b7
No known key found for this signature in database
GPG Key ID: 1F2E76ACE3F531C8
1 changed files with 49 additions and 49 deletions

View File

@ -17,55 +17,55 @@
(define-public kakoune
(let ((base (@@ (gnu packages text-editors) kakoune)))
(package
(inherit base)
(source #f)
(build-system trivial-build-system)
(native-inputs (list base))
(arguments
(list #:modules '((guix build utils))
#:builder
#~(begin
(use-modules (guix build utils))
(let* ((out #$output)
(applications (string-append out "/share/applications"))
(in (assoc-ref %build-inputs "kakoune"))
(kak-bin (string-append out "/bin/kak")))
(copy-recursively in out)
(chmod kak-bin #o755)
(mkdir-p applications)
(make-desktop-entry-file
(string-append applications "/kak.desktop")
#:type "Application"
#:name "kak"
#:comment "Launches the kakoune text editor"
#:icon "utilities-terminal"
#:terminal #t
#:try-exec (string-append out "/bin/kak")
#:exec (string-append out "/bin/kak %f")
#:categories (list "ConsoleOnly"
"System")
#:mime-type (list "application/x-shellscript"
"text/english"
"text/plain"
"text/troff"
"text/x-c"
"text/x-c++"
"text/x-c++hdr"
"text/x-c++src"
"text/x-chdr"
"text/x-csrc"
"text/x-diff"
"text/x-java"
"text/x-lisp"
"text/x-makefile"
"text/x-moc"
"text/x-pascal"
"text/x-scheme"
"text/x-shellscript"
"text/x-tcl"
"text/x-tex"
"text/x-tex"
"text/xml")))))))))
(inherit base)
(source #f)
(build-system trivial-build-system)
(native-inputs (list base))
(arguments
(list #:modules '((guix build utils))
#:builder
#~(begin
(use-modules (guix build utils))
(let* ((out #$output)
(applications (string-append out "/share/applications"))
(in (assoc-ref %build-inputs "kakoune"))
(kak-bin (string-append out "/bin/kak")))
(copy-recursively in out)
(chmod kak-bin #o755)
(mkdir-p applications)
(make-desktop-entry-file
(string-append applications "/kak.desktop")
#:type "Application"
#:name "kak"
#:comment "Launches the kakoune text editor"
#:icon "utilities-terminal"
#:terminal #t
#:try-exec (string-append out "/bin/kak")
#:exec (string-append out "/bin/kak %f")
#:categories (list "ConsoleOnly"
"System")
#:mime-type (list "application/x-shellscript"
"text/english"
"text/plain"
"text/troff"
"text/x-c"
"text/x-c++"
"text/x-c++hdr"
"text/x-c++src"
"text/x-chdr"
"text/x-csrc"
"text/x-diff"
"text/x-java"
"text/x-lisp"
"text/x-makefile"
"text/x-moc"
"text/x-pascal"
"text/x-scheme"
"text/x-shellscript"
"text/x-tcl"
"text/x-tex"
"text/x-tex"
"text/xml")))))))))
;; Builds sucessfully on
;; guix 28bc0e8