File tree Expand file tree Collapse file tree 1 file changed +14
-9
lines changed Expand file tree Collapse file tree 1 file changed +14
-9
lines changed Original file line number Diff line number Diff line change 8
8
pkg-config ,
9
9
python3 ,
10
10
cld2 ,
11
+ cli11 ,
12
+ fmt_11 ,
11
13
coreutils ,
12
14
emacs ,
13
15
glib ,
16
18
xapian ,
17
19
} :
18
20
19
- stdenv . mkDerivation rec {
21
+ stdenv . mkDerivation ( finalAttrs : {
20
22
pname = "mu" ;
21
- version = "1.12.12 " ;
23
+ version = "1.12.13 " ;
22
24
23
25
outputs = [
24
26
"out"
@@ -28,8 +30,8 @@ stdenv.mkDerivation rec {
28
30
src = fetchFromGitHub {
29
31
owner = "djcb" ;
30
32
repo = "mu" ;
31
- rev = "v${ version } " ;
32
- hash = "sha256-ZdVzyfzTsGn3DaeOEXZFA/wX8MxIeD45FaKYU6okr4Y =" ;
33
+ rev = "v${ finalAttrs . version } " ;
34
+ hash = "sha256-rz0bxgJtz4qHrfHRjJhnvxtFFNM89A39YH9oJ2YGC5g =" ;
33
35
} ;
34
36
35
37
postPatch = ''
@@ -63,17 +65,20 @@ stdenv.mkDerivation rec {
63
65
64
66
buildInputs = [
65
67
cld2
68
+ cli11
66
69
emacs
70
+ fmt_11
67
71
glib
68
72
gmime3
69
73
texinfo
70
74
xapian
71
75
] ;
72
76
73
77
mesonFlags = [
74
- "-Dguile=disabled"
75
- "-Dreadline=disabled"
76
- "-Dlispdir=${ placeholder "mu4e" } /share/emacs/site-lisp"
78
+ ( lib . strings . mesonEnable "guile" false )
79
+ ( lib . strings . mesonEnable "readline" false )
80
+ ( lib . strings . mesonEnable "tests" finalAttrs . doCheck )
81
+ ( lib . strings . mesonOption "lispdir" "${ placeholder "mu4e" } /share/emacs/site-lisp" )
77
82
] ;
78
83
79
84
nativeBuildInputs = [
@@ -93,7 +98,7 @@ stdenv.mkDerivation rec {
93
98
description = "Collection of utilities for indexing and searching Maildirs" ;
94
99
license = lib . licenses . gpl3Plus ;
95
100
homepage = "https://www.djcbsoftware.nl/code/mu/" ;
96
- changelog = "https://github.com/djcb/mu/releases/tag/v${ version } " ;
101
+ changelog = "https://github.com/djcb/mu/releases/tag/v${ finalAttrs . version } " ;
97
102
maintainers = with lib . maintainers ; [
98
103
antono
99
104
chvp
@@ -102,4 +107,4 @@ stdenv.mkDerivation rec {
102
107
mainProgram = "mu" ;
103
108
platforms = lib . platforms . unix ;
104
109
} ;
105
- }
110
+ } )
You can’t perform that action at this time.
0 commit comments