mlmmj: add docfiles to output

This commit is contained in:
Profpatsch 2017-03-15 17:35:50 +01:00
parent 6da60bb101
commit 92bb91f72f

View File

@ -10,6 +10,12 @@ stdenv.mkDerivation rec {
sha256 = "18n7b41nfdj7acvmqzkkz984d26xvz14xk8kmrnzv23dkda364m0";
};
postInstall = ''
# grab all documentation files
docfiles=$(find -maxdepth 1 -name "[[:upper:]][[:upper:]]*")
install -vDm 644 -t $out/share/doc/mlmmj/ $docfiles
'';
meta = with stdenv.lib; {
homepage = http://mlmmj.org;
description = "Mailing List Management Made Joyful";
@ -18,4 +24,4 @@ stdenv.mkDerivation rec {
license = licenses.mit;
};
}
}