2020-04-24 23:36:52 +00:00
|
|
|
{ lib, fetchzip }:
|
|
|
|
|
|
|
|
let
|
|
|
|
version = "0.7.0";
|
|
|
|
in fetchzip rec {
|
|
|
|
name = "cm-unicode-${version}";
|
|
|
|
|
|
|
|
url = "mirror://sourceforge/cm-unicode/cm-unicode/${version}/${name}-otf.tar.xz";
|
|
|
|
|
|
|
|
postFetch = ''
|
|
|
|
tar -xJvf $downloadedFile --strip-components=1
|
|
|
|
install -m444 -Dt $out/share/fonts/opentype *.otf
|
|
|
|
install -m444 -Dt $out/share/doc/${name} README FontLog.txt
|
|
|
|
'';
|
|
|
|
|
|
|
|
sha256 = "1rzz7yhqq3lljyqxbg46jfzfd09qgpgx865lijr4sgc94riy1ypn";
|
|
|
|
|
|
|
|
meta = with lib; {
|
2022-02-10 20:34:41 +00:00
|
|
|
homepage = "https://cm-unicode.sourceforge.io/";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Computer Modern Unicode fonts";
|
|
|
|
maintainers = with maintainers; [ raskin rycee ];
|
|
|
|
license = licenses.ofl;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|