parent
78be5507bd
commit
6e37ec0c48
@ -1,23 +1,25 @@ |
|||||||
{ fetchzip, lib }: |
{ fetchzip, lib }: |
||||||
|
|
||||||
let |
let |
||||||
version = "1.500"; |
version = "2.100"; |
||||||
in |
in |
||||||
fetchzip { |
fetchzip rec { |
||||||
name = "sil-abyssinica-${version}"; |
name = "sil-abyssinica-${version}"; |
||||||
url = "mirror://debian/pool/main/f/fonts-sil-abyssinica/fonts-sil-abyssinica_${version}.orig.tar.xz"; |
url = "https://software.sil.org/downloads/r/abyssinica/AbyssinicaSIL-${version}.zip"; |
||||||
sha256 = "sha256-fCa88wG2JfHTaHaBkuvoncbcbrh3XNzc8ewS3W+W/fM="; |
sha256 = "sha256-06olbIdSlhJ4hgblzzabqIs57FpsyWIdPDFXb9vK31A="; |
||||||
|
|
||||||
postFetch = '' |
postFetch = '' |
||||||
mkdir -p $out/share/fonts |
rm -rf $out/web |
||||||
tar xf $downloadedFile --strip-components=1 -C $out/share/fonts AbyssinicaSIL-${version}/AbyssinicaSIL-R.ttf |
mkdir -p $out/share/{fonts/truetype,doc/${name}} |
||||||
|
mv $out/*.ttf $out/share/fonts/truetype/ |
||||||
|
mv $out/*.txt $out/documentation $out/share/doc/${name}/ |
||||||
''; |
''; |
||||||
|
|
||||||
meta = with lib; { |
meta = with lib; { |
||||||
description = "Unicode font for Ethiopian and Erythrean scripts (Amharic et al.)"; |
description = "Unicode font for Ethiopian and Erythrean scripts (Amharic et al.)"; |
||||||
homepage = "https://software.sil.org/abyssinica/"; |
homepage = "https://software.sil.org/abyssinica/"; |
||||||
license = licenses.ofl; |
license = licenses.ofl; |
||||||
maintainers = with lib.maintainers; [ serge ]; |
maintainers = with maintainers; [ serge ]; |
||||||
platforms = platforms.all; |
platforms = platforms.all; |
||||||
}; |
}; |
||||||
} |
} |
||||||
|
Loading…
Reference in new issue