thinkfan: install manual, README and examples

READMEs usually just waste those precious kilobytes, but both the
manual page and --help output refer to this one quite a bit.

+7 -4
+7 -4
pkgs/tools/system/thinkfan/default.nix
··· 18 18 ''; 19 19 20 20 installPhase = '' 21 - mkdir -p $out/bin; 22 - mv thinkfan $out/bin/; 21 + install -Dm755 {.,$out/bin}/thinkfan 22 + 23 + cd $sourceRoot 24 + install -Dm644 {.,$out/share/doc/thinkfan}/README 25 + cp -R examples $out/share/doc/thinkfan 26 + install -Dm644 {.,$out/share/man/man1}/thinkfan.1 23 27 ''; 24 28 25 29 meta = { 26 - description = ""; 27 30 license = stdenv.lib.licenses.gpl3; 28 - homepage = "http://thinkfan.sourceforge.net/"; 31 + homepage = http://thinkfan.sourceforge.net/; 29 32 maintainers = with stdenv.lib.maintainers; [ iElectric ]; 30 33 platforms = stdenv.lib.platforms.linux; 31 34 };