2015-06-11 22:17:53 +00:00
|
|
|
{ stdenv, fetchurl }:
|
2011-05-28 19:51:08 +00:00
|
|
|
|
2015-06-11 22:17:53 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "cm-unicode-${version}";
|
|
|
|
version = "0.7.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/cm-unicode/cm-unicode/${version}/${name}-otf.tar.xz";
|
2014-08-31 16:11:55 +00:00
|
|
|
sha256 = "0a0w9qm9g8qz2xh3lr61bj1ymqslqsvk4w2ybc3v2qa89nz7x2jl";
|
2011-05-28 19:51:08 +00:00
|
|
|
};
|
|
|
|
|
2015-06-11 22:17:53 +00:00
|
|
|
phases = [ "unpackPhase" "installPhase" ];
|
2011-05-28 19:51:08 +00:00
|
|
|
|
2015-06-11 22:17:53 +00:00
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/share/fonts/opentype
|
|
|
|
mkdir -p $out/share/doc/${name}
|
|
|
|
cp -v *.otf $out/share/fonts/opentype/
|
|
|
|
cp -v README FontLog.txt $out/share/doc/${name}
|
|
|
|
'';
|
2011-05-28 19:51:08 +00:00
|
|
|
|
2015-06-11 22:17:53 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
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 19:51:08 +00:00
|
|
|
};
|
2015-06-11 22:17:53 +00:00
|
|
|
}
|