gyre-fonts: 2.005 -> 2.501; modernize (#467432)
This commit is contained in:
@@ -4,21 +4,21 @@
|
||||
fetchzip,
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "gyre-fonts";
|
||||
version = "2.005";
|
||||
version = "2.501";
|
||||
|
||||
src = fetchzip {
|
||||
url = "http://www.gust.org.pl/projects/e-foundry/tex-gyre/whole/tg-${version}otf.zip";
|
||||
stripRoot = false;
|
||||
hash = "sha256-+6IufuFf+IoLXoZEPlfHUNgRhKrQNBEZ1OwPD9/uOjg=";
|
||||
url = "http://www.gust.org.pl/projects/e-foundry/tex-gyre/whole/tg${
|
||||
lib.replaceStrings [ "." ] [ "_" ] finalAttrs.version
|
||||
}otf.zip";
|
||||
hash = "sha256-mRPI/rDsx1vDVItG7h29I7VNPYqgSPqChXS6/gVgfNc=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
cp *.otf $out/share/fonts/truetype
|
||||
install -D --mode=444 --target-directory=$out/share/fonts/opentype *.otf
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
@@ -37,4 +37,4 @@ stdenvNoCC.mkDerivation rec {
|
||||
platforms = lib.platforms.all;
|
||||
maintainers = with lib.maintainers; [ bergey ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user