nixpkgs/pkgs/data/fonts/ttf-bitstream-vera/default.nix

21 lines
443 B
Nix
Raw Normal View History

2017-08-10 21:43:49 +02:00
{stdenv, fetchzip}:
2017-08-10 21:43:49 +02:00
fetchzip {
name = "ttf-bitstream-vera-1.10";
2017-08-10 21:43:49 +02:00
url = mirror://gnome/sources/ttf-bitstream-vera/1.10/ttf-bitstream-vera-1.10.tar.bz2;
2017-08-10 21:43:49 +02:00
postFetch = ''
tar -xjf $downloadedFile --strip-components=1
fontDir=$out/share/fonts/truetype
mkdir -p $fontDir
cp *.ttf $fontDir
'';
2017-08-10 21:43:49 +02:00
sha256 = "179hal4yi3367jg8rsvqx6h2w4s0kn9zzrv8c47sslyg28g39s4m";
meta = {
platforms = stdenv.lib.platforms.unix;
};
}