mu: don't use nested lists and refactor meta

This doesn't even change derivation hash in the default setting.
This commit is contained in:
Vladimír Čunát 2015-09-24 10:38:43 +02:00
parent fcab752abf
commit 8e45d4da52

View File

@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
buildInputs = buildInputs =
[ sqlite pkgconfig autoconf automake xapian [ sqlite pkgconfig autoconf automake xapian
glib gmime texinfo emacs guile libsoup icu ] glib gmime texinfo emacs guile libsoup icu ]
++ stdenv.lib.optional withMug [ gtk3 webkit ]; ++ stdenv.lib.optionals withMug [ gtk3 webkit ];
preConfigure = '' preConfigure = ''
autoreconf -i autoreconf -i
@ -36,11 +36,11 @@ stdenv.mkDerivation rec {
cp -v toys/mug/mug $out/bin/ cp -v toys/mug/mug $out/bin/
''; '';
meta = { meta = with stdenv.lib; {
description = "A collection of utilties for indexing and searching Maildirs"; description = "A collection of utilties for indexing and searching Maildirs";
license = stdenv.lib.licenses.gpl3Plus; license = licenses.gpl3Plus;
homepage = "http://www.djcbsoftware.nl/code/mu/"; homepage = "http://www.djcbsoftware.nl/code/mu/";
platforms = stdenv.lib.platforms.mesaPlatforms; platforms = platforms.mesaPlatforms;
maintainers = with stdenv.lib.maintainers; [ antono the-kenny ]; maintainers = with maintainers; [ antono the-kenny ];
}; };
} }