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:
@@ -1,9 +1,9 @@
|
||||
{ stdenv, fetchzip }:
|
||||
{ lib, fetchzip }:
|
||||
|
||||
fetchzip rec {
|
||||
fetchzip {
|
||||
name = "ipaexfont-003.01";
|
||||
|
||||
url = "http://dl.ipafont.ipa.go.jp/IPAexfont/IPAexfont00301.zip";
|
||||
url = "http://web.archive.org/web/20160616003021/http://dl.ipafont.ipa.go.jp/IPAexfont/IPAexfont00301.zip";
|
||||
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts
|
||||
@@ -12,7 +12,7 @@ fetchzip rec {
|
||||
|
||||
sha256 = "02a6sj990cnig5lq0m54nmbmfkr3s57jpxl9fiyzrjmigvd1qmhj";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Japanese font package with Mincho and Gothic fonts";
|
||||
longDescription = ''
|
||||
IPAex font is a Japanese font developed by the Information-technology
|
||||
@@ -24,6 +24,5 @@ fetchzip rec {
|
||||
homepage = http://ipafont.ipa.go.jp/;
|
||||
license = licenses.ipa;
|
||||
maintainers = with maintainers; [ gebner ];
|
||||
platforms = with platforms; unix;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user