1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/data/fonts/ttf-bitstream-vera/default.nix

21 lines
435 B
Nix
Raw Normal View History

{ lib, fetchzip }:
let
pname = "ttf-bitstream-vera";
version = "1.10";
in
fetchzip rec {
name = "${pname}-${version}";
2021-01-15 07:29:18 +00:00
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.bz2";
2017-08-10 20:43:49 +01:00
postFetch = ''
tar -xjf $downloadedFile --strip-components=1
install -m444 -Dt $out/share/fonts/truetype *.ttf
'';
2017-08-10 20:43:49 +01:00
sha256 = "179hal4yi3367jg8rsvqx6h2w4s0kn9zzrv8c47sslyg28g39s4m";
meta = {
};
}