summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorflorhizome <florhizome@posteo.net>2022-11-13 19:21:17 +0000
committerGuix Patches Tester <>2022-11-13 21:27:39 +0100
commit1786956b912740e7a5dc840b3e7e9e1b02ae95b6 (patch)
treef681dd67c6d5e4d509e00745f952bd0fa0935f84
parentc1c123867ddd5b92ac851cb62a911b31a383e5f0 (diff)
downloadguix-patches-1786956b912740e7a5dc840b3e7e9e1b02ae95b6.tar
guix-patches-1786956b912740e7a5dc840b3e7e9e1b02ae95b6.tar.gz
gnu: Add nemoissue-59105
* gnu/packages/cinnamon.scm (nemo): New variable.
-rw-r--r--gnu/packages/cinnamon.scm61
1 files changed, 61 insertions, 0 deletions
diff --git a/gnu/packages/cinnamon.scm b/gnu/packages/cinnamon.scm
index 8af2075596..74bf125820 100644
--- a/gnu/packages/cinnamon.scm
+++ b/gnu/packages/cinnamon.scm
@@ -143,3 +143,64 @@ as well as some desktop-wide documents.")
projects of the Linux Mint project.")
(license license:expat)))
+(define-public nemo
+ (package
+ (name "nemo")
+ (version "5.4.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/linuxmint/nemo")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1r3zjkpmisdi54kkq6fvaslagzpbbz4swjlali90lwsfbb9cwykz"))))
+ (build-system meson-build-system)
+ (arguments
+ (list #:glib-or-gtk? #t
+ #:tests? #f ;tests stall
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'patch-source-shebangs 'adjust-prefix
+ (lambda _
+ (substitute*
+ (find-files "meson.build")
+ (("'data_dir")
+ (string-append "'" #$output "/share")))) #t)
+ (add-before 'check 'pre-check
+ (lambda _
+ (system "Xvfb :1 &")
+ (setenv "DISPLAY" ":1")
+ (setenv "HOME" "/tmp") ;some tests require a writable HOME
+ (setenv "XDG_DATA_DIRS"
+ (string-append (getenv "XDG_DATA_DIRS")
+ ":" #$output "/share")))))))
+ (inputs
+ (list atk
+ cinnamon-desktop
+ libnotify
+ libgsf
+ libx11
+ libxml2
+ gtk+
+ gsettings-desktop-schemas
+ libxkbfile
+ libexif
+ exempi
+ xapp
+ xkeyboard-config))
+ (native-inputs
+ (list pkg-config
+ (list gtk+ "bin")
+ gettext-minimal
+ intltool
+ (list glib "bin")
+ gobject-introspection
+ xorg-server-for-tests))
+ (home-page "https://github.com/linuxmint/nemo")
+ (synopsis "File browser for Cinnamon")
+ (description "Nemo is the file manager for the Cinnamon desktop
+ environment.")
+ (license license:expat)))