summary refs log tree commit diff
path: root/pkgs/data/fonts/ttf-bitstream-vera/default.nix
blob: 64b18ffdaaab6f2ae59b7a084f6de4af0c806edd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{stdenv, fetchurl}:

stdenv.mkDerivation {
  name = "ttf-bitstream-vera-1.10";
  src = fetchurl {
    url = http://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/1.10/ttf-bitstream-vera-1.10.tar.bz2;
    sha256 = "1p3qs51x5327gnk71yq8cvmxc6wgx79sqxfvxcv80cdvgggjfnyv";
  };
  buildPhase = "true";
  installPhase = "
    fontDir=$out/share/fonts/truetype
    mkdir -p $fontDir
    cp *.ttf $fontDir
  ";
}