2023-01-18 20:29:32 +00:00
|
|
|
{ lib, stdenvNoCC, fetchurl }:
|
2007-10-03 16:10:22 +00:00
|
|
|
|
2023-01-18 20:29:32 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
pname = "bakoma-ttf";
|
|
|
|
version = "2.2";
|
2016-05-04 10:08:35 +00:00
|
|
|
|
2023-01-18 20:29:32 +00:00
|
|
|
src = fetchurl {
|
|
|
|
name = "${pname}.tar.bz2";
|
|
|
|
url = "http://tarballs.nixos.org/sha256/1j1y3cq6ys30m734axc0brdm2q9n2as4h32jws15r7w5fwr991km";
|
|
|
|
hash = "sha256-dYaUMneFn1yC5lIMSLQSNmFRW16AdUXGqWBobzAbPsg=";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
2016-05-04 10:08:35 +00:00
|
|
|
|
|
|
|
mkdir -p $out/share/fonts/truetype
|
|
|
|
cp ttf/*.ttf $out/share/fonts/truetype
|
2007-10-03 16:10:22 +00:00
|
|
|
|
2023-01-18 20:29:32 +00:00
|
|
|
runHook postInstall
|
|
|
|
'';
|
2017-08-11 13:36:53 +00:00
|
|
|
|
2007-10-03 16:10:22 +00:00
|
|
|
meta = {
|
|
|
|
description = "TrueType versions of the Computer Modern and AMS TeX Fonts";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://www.ctan.org/tex-archive/fonts/cm/ps-type1/bakoma/ttf/";
|
2007-10-03 16:10:22 +00:00
|
|
|
};
|
|
|
|
}
|