Skip to content

Commit

Permalink
bakoma_ttf: make the font derivations fixed-output (#28130)
Browse files Browse the repository at this point in the history
- [x] dead link fixed
- [x] make the font derivations fixed-output (#27754)
  • Loading branch information
volth authored and fpletz committed Aug 11, 2017
1 parent 8ec0a03 commit a3e9a69
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions pkgs/data/fonts/bakoma-ttf/default.nix
@@ -1,20 +1,18 @@
{stdenv, fetchurl}:
{stdenv, fetchzip}:

stdenv.mkDerivation {
fetchzip {
name = "bakoma-ttf";

src = fetchurl {
url = http://tarballs.nixos.org/bakoma-ttf.tar.bz2;
sha256 = "1j1y3cq6ys30m734axc0brdm2q9n2as4h32jws15r7w5fwr991km";
};

dontBuild = true;
url = http://tarballs.nixos.org/sha256/1j1y3cq6ys30m734axc0brdm2q9n2as4h32jws15r7w5fwr991km;

installPhase = ''
postFetch = ''
tar xjvf $downloadedFile --strip-components=1
mkdir -p $out/share/fonts/truetype
cp ttf/*.ttf $out/share/fonts/truetype
'';

sha256 = "0g7i723n00cqx2va05z1h6v3a2ar69gqw4hy6pjj7m0ml906rngc";

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/;
Expand Down

0 comments on commit a3e9a69

Please sign in to comment.