summaryrefslogtreecommitdiff
path: root/px/packages/atril-thumbnailer.scm
diff options
context:
space:
mode:
authorFranz Geffke <franz@pantherx.org>2023-11-06 20:08:14 +0000
committerFranz Geffke <franz@pantherx.org>2023-11-06 20:08:14 +0000
commit47b4c9c854915df93893dbaa993accfacf9027fe (patch)
tree4f9b1742d63fcfbc94cc6b8d84f76c4d00c3a0b7 /px/packages/atril-thumbnailer.scm
parent0b426d7b7ed8e176bf464ef9e0683f74a6c9d20f (diff)
rewrite: apply guix-reference formatting; cleanup some module imports
Diffstat (limited to 'px/packages/atril-thumbnailer.scm')
-rw-r--r--px/packages/atril-thumbnailer.scm54
1 files changed, 29 insertions, 25 deletions
diff --git a/px/packages/atril-thumbnailer.scm b/px/packages/atril-thumbnailer.scm
index 3efbdee..24ac1ac 100644
--- a/px/packages/atril-thumbnailer.scm
+++ b/px/packages/atril-thumbnailer.scm
@@ -5,28 +5,32 @@
(define-public atril-thumbnailer
(package
- (inherit atril)
- (name "atril-thumbnailer")
- (version (package-version atril))
- (source
- (origin
- (inherit (package-source atril))
- (uri (string-append "mirror://mate/" (version-major+minor version) "/"
- "atril-" version ".tar.xz"))))
- (arguments
- (substitute-keyword-arguments (package-arguments atril)
- ((#:phases phases)
- `(modify-phases ,phases
- (replace 'build
- (lambda _
- (invoke "make" "thumbnailer")
- #t))
- (replace 'install
- (lambda _
- (invoke "make" "install" "thumbnailer")
- #t))
- (add-after 'install 'remove-desktop-file
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (invoke "rm" (string-append out "/share/applications/atril.desktop"))
- #t)))))))))
+ (inherit atril)
+ (name "atril-thumbnailer")
+ (version (package-version atril))
+ (source
+ (origin
+ (inherit (package-source atril))
+ (uri (string-append "mirror://mate/"
+ (version-major+minor version)
+ "/"
+ "atril-"
+ version
+ ".tar.xz"))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments atril)
+ ((#:phases phases)
+ `(modify-phases ,phases
+ (replace 'build
+ (lambda _
+ (invoke "make" "thumbnailer") #t))
+ (replace 'install
+ (lambda _
+ (invoke "make" "install" "thumbnailer") #t))
+ (add-after 'install 'remove-desktop-file
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (invoke "rm"
+ (string-append out
+ "/share/applications/atril.desktop"))
+ #t)))))))))