diff options
Diffstat (limited to 'nixpkgs/pkgs/data/fonts/freefont-ttf/default.nix')
-rw-r--r-- | nixpkgs/pkgs/data/fonts/freefont-ttf/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/data/fonts/freefont-ttf/default.nix b/nixpkgs/pkgs/data/fonts/freefont-ttf/default.nix new file mode 100644 index 000000000000..39118716f6f9 --- /dev/null +++ b/nixpkgs/pkgs/data/fonts/freefont-ttf/default.nix @@ -0,0 +1,27 @@ +{stdenv, fetchzip}: + +fetchzip rec { + name = "freefont-ttf-20120503"; + + url = "mirror://gnu/freefont/${name}.zip"; + + postFetch = '' + mkdir -p $out/share/fonts + unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype + ''; + + sha256 = "0h0x2hhr7kvjiycf7fv800xxwa6hcpiz54bqx06wsqc7z61iklvd"; + + meta = { + description = "GNU Free UCS Outline Fonts"; + longDescription = '' + The GNU Freefont project aims to provide a set of free outline + (PostScript Type0, TrueType, OpenType...) fonts covering the ISO + 10646/Unicode UCS (Universal Character Set). + ''; + homepage = https://www.gnu.org/software/freefont/; + license = stdenv.lib.licenses.gpl3Plus; + platforms = stdenv.lib.platforms.all; + maintainers = []; + }; +} |