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:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user