1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00

Add package for the 'open-dyslexic' font.

This commit is contained in:
Robert Helgesson 2015-01-17 00:46:38 +01:00
parent 08c3f2bc05
commit 44c3424414
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{stdenv, fetchgit}:
stdenv.mkDerivation rec {
name = "open-dyslexic-${version}";
version = "2014-11-11";
src = fetchgit {
url = "https://github.com/antijingoist/open-dyslexic.git";
rev = "f4b5ba89018b44d633608907e15f93fb3fabbabc";
sha256 = "04pa7c2cary6pqxsmxqrg7wi19szg7xh8panmvqvmc7jas0mzg6q";
};
phases = ["unpackPhase" "installPhase"];
installPhase = ''
mkdir -p $out/share/fonts/opentype
cp -v 'otf/'*.otf $out/share/fonts/opentype
mkdir -p $out/share/doc/open-dyslexic
cp -v README.md $out/share/doc/open-dyslexic
'';
meta = with stdenv.lib; {
homepage = http://opendyslexic.org/;
description = "Font created to increase readability for readers with dyslexia";
license = "Bitstream Vera License (http://www.gnome.org/fonts/#Final_Bitstream_Vera_Fonts)";
platforms = platforms.all;
maintainers = [maintainers.rycee];
};
}

View file

@ -9145,6 +9145,8 @@ let
oldstandard = callPackage ../data/fonts/oldstandard { }; oldstandard = callPackage ../data/fonts/oldstandard { };
open-dyslexic = callPackage ../data/fonts/open-dyslexic { };
opensans-ttf = callPackage ../data/fonts/opensans-ttf { }; opensans-ttf = callPackage ../data/fonts/opensans-ttf { };
poly = callPackage ../data/fonts/poly { }; poly = callPackage ../data/fonts/poly { };