2017-08-11 15:36:53 +02:00
|
|
|
{stdenv, fetchzip}:
|
2007-10-03 18:10:22 +02:00
|
|
|
|
2017-08-11 15:36:53 +02:00
|
|
|
fetchzip {
|
2007-10-03 18:10:22 +02:00
|
|
|
name = "bakoma-ttf";
|
2016-05-04 12:08:35 +02:00
|
|
|
|
2017-08-11 15:36:53 +02:00
|
|
|
url = http://tarballs.nixos.org/sha256/1j1y3cq6ys30m734axc0brdm2q9n2as4h32jws15r7w5fwr991km;
|
2016-05-04 12:08:35 +02:00
|
|
|
|
2017-08-11 15:36:53 +02:00
|
|
|
postFetch = ''
|
|
|
|
tar xjvf $downloadedFile --strip-components=1
|
2016-05-04 12:08:35 +02:00
|
|
|
mkdir -p $out/share/fonts/truetype
|
|
|
|
cp ttf/*.ttf $out/share/fonts/truetype
|
|
|
|
'';
|
2007-10-03 18:10:22 +02:00
|
|
|
|
2017-08-11 15:36:53 +02:00
|
|
|
sha256 = "0g7i723n00cqx2va05z1h6v3a2ar69gqw4hy6pjj7m0ml906rngc";
|
|
|
|
|
2007-10-03 18:10:22 +02:00
|
|
|
meta = {
|
|
|
|
description = "TrueType versions of the Computer Modern and AMS TeX Fonts";
|
|
|
|
homepage = http://www.ctan.org/tex-archive/fonts/cm/ps-type1/bakoma/ttf/;
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2007-10-03 18:10:22 +02:00
|
|
|
};
|
|
|
|
}
|