Merge pull request #7852 from henrytill/smartmontools

smartmontools: clean up meta, add darwin to meta.platforms

+6 -6
+6 -6
pkgs/tools/system/smartmontools/default.nix
··· 21 sed -i -e 's@which which >/dev/null || exit 1@alias which="type -p"@' update-smart-drivedb.in 22 ''; 23 24 - meta = { 25 - description = "Tools for monitoring the health of hard drivers"; 26 - homepage = "http://smartmontools.sourceforge.net/"; 27 - license = stdenv.lib.licenses.gpl2Plus; 28 - platforms = stdenv.lib.platforms.linux; 29 - maintainers = [ stdenv.lib.maintainers.simons ]; 30 }; 31 }
··· 21 sed -i -e 's@which which >/dev/null || exit 1@alias which="type -p"@' update-smart-drivedb.in 22 ''; 23 24 + meta = with stdenv.lib; { 25 + description = "Tools for monitoring the health of hard drives"; 26 + homepage = http://smartmontools.sourceforge.net/; 27 + license = licenses.gpl2Plus; 28 + platforms = with platforms; linux ++ darwin; 29 + maintainers = [ maintainers.simons ]; 30 }; 31 }