2 files changed +64
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ stdenv ,
3
+ lib ,
4
+ fetchFromGitHub ,
5
+ meson ,
6
+ pkg-config ,
7
+ ninja ,
8
+ glib ,
9
+ gtk3 ,
10
+ cjs ,
11
+ gtksourceview4 ,
12
+ gobject-introspection ,
13
+ libmusicbrainz5 ,
14
+ webkitgtk_4_1 ,
15
+ clutter-gtk ,
16
+ clutter-gst ,
17
+ wrapGAppsHook3 ,
18
+ nemo ,
19
+ xreader ,
20
+ } :
21
+
22
+ stdenv . mkDerivation ( finalAttrs : {
23
+ pname = "nemo-preview" ;
24
+ version = "6.4.0" ;
25
+
26
+ src = fetchFromGitHub {
27
+ owner = "linuxmint" ;
28
+ repo = "nemo-extensions" ;
29
+ tag = finalAttrs . version ;
30
+ hash = "sha256-39hWA4SNuEeaPA6D5mWMHjJDs4hYK7/ZdPkTyskvm5Y=" ;
31
+ } ;
32
+
33
+ sourceRoot = "${ finalAttrs . src . name } /nemo-preview" ;
34
+
35
+ nativeBuildInputs = [
36
+ wrapGAppsHook3
37
+ gobject-introspection
38
+ meson
39
+ pkg-config
40
+ glib
41
+ ninja
42
+ ] ;
43
+
44
+ buildInputs = [
45
+ gtk3
46
+ cjs
47
+ gtksourceview4
48
+ libmusicbrainz5
49
+ webkitgtk_4_1
50
+ clutter-gtk
51
+ clutter-gst
52
+ nemo
53
+ xreader
54
+ ] ;
55
+
56
+ meta = {
57
+ homepage = "https://github.com/linuxmint/nemo-extensions/tree/master/nemo-preview" ;
58
+ description = "Quick previewer for Nemo, the Cinnamon desktop file manager" ;
59
+ license = lib . licenses . gpl2Plus ;
60
+ platforms = lib . platforms . linux ;
61
+ maintainers = lib . teams . cinnamon . members ;
62
+ } ;
63
+ } )
Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ stdenv.mkDerivation rec {
57
57
58
58
mesonFlags = [
59
59
"-Dmathjax-directory=${ nodePackages . mathjax } "
60
+ "-Dintrospection=true"
60
61
] ++ ( map ( x : "-D${ x } =true" ) backends ) ;
61
62
62
63
buildInputs = [
0 commit comments