summary refs log tree commit diff
path: root/pkgs/data/fonts/iwona/default.nix
blob: 0d3944b2da10650791b3099dc61ed10e2e95d9c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ lib, stdenvNoCC, texlive }:

stdenvNoCC.mkDerivation {
  pname = "iwona";
  version = "0.995b";

  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
  '';

  meta = with lib; {
    description = "A two-element sans-serif typeface, created by Małgorzata Budyta";
    homepage = "https://jmn.pl/en/kurier-i-iwona/";
    # "[...] GUST Font License (GFL), which is a free license, legally
    # equivalent to the LaTeX Project Public # License (LPPL), version 1.3c or
    # later." - GUST website
    license = licenses.lppl13c;
    maintainers = with maintainers; [ siddharthist ];
    platforms = platforms.all;
  };
}