open-dyslexic: 2016-07-23 -> 0.91.12
Also update license, see
e7ac50af1a
This commit is contained in:
parent
1e92e4ce61
commit
5719ed6853
1 changed files with 10 additions and 8 deletions
|
@ -1,19 +1,21 @@
|
|||
{ lib, stdenvNoCC, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchFromGitHub }:
|
||||
|
||||
let version = "0.91.12"; in
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "open-dyslexic";
|
||||
version = "2016-06-23";
|
||||
inherit version;
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/antijingoist/open-dyslexic/archive/20160623-Stable.zip";
|
||||
hash = "sha256-f/uavR3n0qHyqumZDw7r8Zy0om2RlJAKyWuGaUXSJ1s=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "antijingoist";
|
||||
repo = "opendyslexic";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-a8hh8NGt5djj9EC7ChO3SnnjuYMOryzbHWTK4gC/vIw=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 otf/*.otf -t $out/share/fonts/opentype
|
||||
install -Dm644 README.md -t $out/share/doc/open-dyslexic
|
||||
install -Dm644 compiled/*.otf -t $out/share/fonts/opentype
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
@ -21,7 +23,7 @@ stdenvNoCC.mkDerivation {
|
|||
meta = with lib; {
|
||||
homepage = "https://opendyslexic.org/";
|
||||
description = "Font created to increase readability for readers with dyslexia";
|
||||
license = "Bitstream Vera License (https://www.gnome.org/fonts/#Final_Bitstream_Vera_Fonts)";
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.rycee ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue