lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Package all of George Douros's fonts, not just Symbola

+59 -35
+57
pkgs/data/fonts/gdouros/default.nix
··· 1 + {stdenv, fetchurl, unzip, lib }: 2 + let 3 + fonts = { 4 + aegean = { version = "8.00"; file = "Aegean.zip"; sha256 = "09pmazcpxhkx3l8h4gxiixihi1c49pli5gvlcm1b6sbf4xvf9kwm"; 5 + description = "Scripts and symbols of the Aegean world"; }; 6 + textfonts = { version = "6.00"; file = "Textfonts.zip"; sha256 = "10m6kpyj8cc0b4qxxi78akiyjxcbhxj2wmbicdcfh008jibbaxsz"; 7 + description = "Fonts based on early Greek editions"; }; 8 + symbola = { version = "8.00"; file = "Symbola.zip"; sha256 = "1lfs2j816332ysvpb5ibj2gwpmyqyispqdl7skkshf2gra18hmhd"; 9 + description = "Basic Latin, Greek, Cyrillic and many Symbol blocks of Unicode"; }; 10 + aegyptus = { version = "6.00"; file = "Aegyptus.zip"; sha256 = "092vci45wp9x0yky6dcfky4bs4avaxn6xpai3bs74gxskd2j9s3q"; 11 + description = "Egyptian Hieroglyphs, Coptic, Meroitic"; }; 12 + akkadian = { version = "7.13"; file = "Akkadian.zip"; sha256 = "1xwlify1jdsjfgbpl48gcdv7m2apa9avsyxy17q2zg6lngx1ic8a"; 13 + description = "Sumero-Akkadian Cuneiform"; }; 14 + anatolian = { version = "5.02"; file = "Anatolian.zip"; sha256 = "0arm58sijzk0bqmfb70k1sjvq79wgw16hx3j2g4l8qz4sv05bp8l"; 15 + description = "Anatolian Hieroglyphs"; }; 16 + maya = { version = "4.14"; file = "Maya.zip"; sha256 = "0l97racgncrhb96mfbsx8dr5n4j289iy0nnwhxf9b21ns58a9x4f"; 17 + description = "Maya Hieroglyphs"; }; 18 + unidings = { version = "8.00"; file = "Unidings.zip"; sha256 = "0r5n5jgxcf71x4zfizf1jk9jffyr6waxym8dlmh82bcpjpkx0pl0"; 19 + description = "Glyphs and Icons for blocks of The Unicode Standard"; }; 20 + musica = { version = "3.12"; file = "Musica.zip"; sha256 = "079vyb0mpxvlcf81d5pqh9dijkcvidfbcyvpbgjpmgzzrrj0q210"; 21 + description = "Musical Notation"; }; 22 + analecta = { version = "5.00"; file = "Analecta.zip"; sha256 = "0rphylnz42fqm1zpx5jx60k294kax3sid8r2hx3cbxfdf8fnpb1f"; 23 + description = "Coptic, Gothic, Deseret"; }; 24 + }; 25 + mkpkg = name_: {version, file, sha256, description}: 26 + stdenv.mkDerivation rec { 27 + name = "${name_}-${version}"; 28 + 29 + src = fetchurl { 30 + url = "http://users.teilar.gr/~g1951d/${file}"; 31 + inherit sha256; 32 + }; 33 + 34 + buildInputs = [ unzip ]; 35 + 36 + sourceRoot = "."; 37 + 38 + installPhase = '' 39 + mkdir -p $out/share/fonts/truetype 40 + cp -v *.ttf $out/share/fonts/truetype/ 41 + 42 + mkdir -p "$out/doc/${name}" 43 + cp -v *.docx *.pdf *.xlsx "$out/doc/${name}/" 44 + ''; 45 + 46 + meta = { 47 + inherit description; 48 + # In lieu of a license: 49 + # Fonts in this site are offered free for any use; 50 + # they may be installed, embedded, opened, edited, modified, regenerated, posted, packaged and redistributed. 51 + license = stdenv.lib.licenses.free; 52 + homepage = http://users.teilar.gr/~g1951d/; 53 + }; 54 + }; 55 + 56 + in 57 + lib.mapAttrs mkpkg fonts
-34
pkgs/data/fonts/symbola/default.nix
··· 1 - {stdenv, fetchurl, unzip }: 2 - 3 - stdenv.mkDerivation rec { 4 - name = "symbola-8.00"; 5 - 6 - src = fetchurl { 7 - url = "http://users.teilar.gr/~g1951d/Symbola.zip"; 8 - sha256 = "1lfs2j816332ysvpb5ibj2gwpmyqyispqdl7skkshf2gra18hmhd"; 9 - }; 10 - 11 - buildInputs = [ unzip ]; 12 - 13 - phases = [ "installPhase" ]; 14 - 15 - installPhase = '' 16 - unzip ${src} 17 - mkdir -p $out/share/fonts/truetype 18 - cp -v Symbola.ttf $out/share/fonts/truetype/ 19 - cp -v Symbola_hint.ttf $out/share/fonts/truetype/ 20 - 21 - mkdir -p "$out/doc/${name}" 22 - cp -v Symbola.docx "$out/doc/${name}/" 23 - cp -v Symbola.pdf "$out/doc/${name}/" 24 - ''; 25 - 26 - meta = { 27 - description = "Basic Latin, Greek, Cyrillic and many Symbol blocks of Unicode"; 28 - # In lieu of a license: 29 - # Fonts in this site are offered free for any use; 30 - # they may be installed, embedded, opened, edited, modified, regenerated, posted, packaged and redistributed. 31 - license = stdenv.lib.licenses.free; 32 - homepage = http://users.teilar.gr/~g1951d/; 33 - }; 34 - }
+2 -1
pkgs/top-level/all-packages.nix
··· 10632 10632 10633 10633 stix-otf = callPackage ../data/fonts/stix-otf { }; 10634 10634 10635 - symbola = callPackage ../data/fonts/symbola { }; 10635 + inherit (callPackages ../data/fonts/gdouros { }) 10636 + aegean textfonts symbola aegyptus akkadian anatolian maya unidings musica analecta; 10636 10637 10637 10638 iana_etc = callPackage ../data/misc/iana-etc { }; 10638 10639