mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 16:15:05 +00:00
c9eb44eab3
* make font derivations fixed-output where applicable * fix dead links * `stdenv.lib` -> `lib` where `stdenv` is not involved * remove `meta.platforms = [ unix ]` and `meta.platforms = [ linux ]` because the restriction has no sense for data packages
28 lines
742 B
Nix
28 lines
742 B
Nix
{ lib, 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 = lib.licenses.gpl3Plus;
|
|
platforms = lib.platforms.all;
|
|
maintainers = [];
|
|
};
|
|
}
|