1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00
nixpkgs/pkgs/data/fonts/ttf-bitstream-vera/default.nix
2017-08-11 14:26:03 +00:00

21 lines
443 B
Nix

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