nixpkgs/pkgs/data/fonts/ttf-bitstream-vera/default.nix
Robin Gloster 9820cb1bf2 use dontBuild instead of hacks
changes:
 * buildPhase = "true"
 * buildPhase = ":"
2016-05-04 10:11:04 +00:00

19 lines
395 B
Nix

{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "ttf-bitstream-vera-1.10";
src = fetchurl {
url = mirror://gnome/sources/ttf-bitstream-vera/1.10/ttf-bitstream-vera-1.10.tar.bz2;
sha256 = "1p3qs51x5327gnk71yq8cvmxc6wgx79sqxfvxcv80cdvgggjfnyv";
};
dontBuild = true;
installPhase = ''
fontDir=$out/share/fonts/truetype
mkdir -p $fontDir
cp *.ttf $fontDir
'';
}