data/fonts: cleanup

* make font derivations fixed-output where applicable
 * fix dead links
 * `stdenv.lib` -> `lib` where `stdenv` is not involved
 * remove `meta.platforms = [ unix ]` and `meta.platforms = [ linux ]` because the restriction has no sense for data packages
This commit is contained in:
volth
2019-05-13 06:03:31 +00:00
parent 1df1834dd1
commit c9eb44eab3
177 changed files with 789 additions and 929 deletions
+1 -3
View File
@@ -26,8 +26,7 @@ stdenv.mkDerivation rec {
unpackPhase = ":";
installPhase = ''
mkdir -p $out/share/fonts/truetype/migmix
find $srcs -name '*.ttf' | xargs install -m644 --target $out/share/fonts/truetype/migmix
find $srcs -name '*.ttf' -exec install -m644 -Dt $out/share/fonts/truetype/migmix {} \;
'';
outputHashAlgo = "sha256";
@@ -38,7 +37,6 @@ stdenv.mkDerivation rec {
description = "A high-quality Japanese font based on M+ fonts and IPA fonts";
homepage = http://mix-mplus-ipa.osdn.jp/migmix;
license = licenses.ipa;
platforms = platforms.unix;
maintainers = [ maintainers.mikoim ];
};
}