mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
Merge pull request #212573 from wegank/iwona-texlive
iwona: fetch fonts from texlive.iwona
This commit is contained in:
commit
79a606608e
@ -1,16 +1,18 @@
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, texlive }:
|
||||
|
||||
let
|
||||
version = "0_995";
|
||||
in fetchzip {
|
||||
name = "iwona-${version}";
|
||||
url = "http://jmn.pl/pliki/Iwona-otf-${version}.zip";
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "iwona";
|
||||
version = "0.995b";
|
||||
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts/opentype
|
||||
unzip -j $downloadedFile *.otf -d $out/share/fonts/opentype
|
||||
src = lib.head (builtins.filter (p: p.tlType == "run") texlive.iwona.pkgs);
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 fonts/opentype/nowacki/iwona/*.otf -t $out/share/fonts/opentype
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
sha256 = "1dcpn13bd31dw7ir0s722bv3nk136dy6qsab0kznjbzfqd7agswa";
|
||||
|
||||
meta = with lib; {
|
||||
description = "A two-element sans-serif typeface, created by Małgorzata Budyta";
|
||||
|
Loading…
Reference in New Issue
Block a user