2019-05-13 02:55:32 +01:00
|
|
|
{ lib, fetchzip }:
|
2011-05-28 20:51:08 +01:00
|
|
|
|
2017-08-10 20:43:49 +01:00
|
|
|
let
|
2015-06-11 23:17:53 +01:00
|
|
|
version = "0.7.0";
|
2017-08-10 20:43:49 +01:00
|
|
|
in fetchzip rec {
|
|
|
|
name = "cm-unicode-${version}";
|
2015-06-11 23:17:53 +01:00
|
|
|
|
2017-08-10 20:43:49 +01:00
|
|
|
url = "mirror://sourceforge/cm-unicode/cm-unicode/${version}/${name}-otf.tar.xz";
|
2011-05-28 20:51:08 +01:00
|
|
|
|
2017-08-10 20:43:49 +01:00
|
|
|
postFetch = ''
|
|
|
|
tar -xJvf $downloadedFile --strip-components=1
|
2019-05-13 02:55:32 +01:00
|
|
|
install -m444 -Dt $out/share/fonts/opentype *.otf
|
|
|
|
install -m444 -Dt $out/share/doc/${name} README FontLog.txt
|
2015-06-11 23:17:53 +01:00
|
|
|
'';
|
2011-05-28 20:51:08 +01:00
|
|
|
|
2017-08-10 20:43:49 +01:00
|
|
|
sha256 = "1rzz7yhqq3lljyqxbg46jfzfd09qgpgx865lijr4sgc94riy1ypn";
|
|
|
|
|
2019-05-13 02:55:32 +01:00
|
|
|
meta = with lib; {
|
2015-06-11 23:17:53 +01:00
|
|
|
homepage = http://canopus.iacp.dvo.ru/~panov/cm-unicode/;
|
|
|
|
description = "Computer Modern Unicode fonts";
|
|
|
|
maintainers = with maintainers; [ raskin rycee ];
|
|
|
|
license = licenses.ofl;
|
|
|
|
platforms = platforms.all;
|
2011-05-28 20:51:08 +01:00
|
|
|
};
|
2015-06-11 23:17:53 +01:00
|
|
|
}
|