3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/data/fonts/ttf-bitstream-vera/default.nix
Eelco Dolstra c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00

16 lines
409 B
Nix

{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
";
}