mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 21:10:08 +00:00
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
32 lines
764 B
Nix
32 lines
764 B
Nix
{
|
|
lib,
|
|
stdenvNoCC,
|
|
texlive,
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
inherit (src) pname version;
|
|
|
|
src = texlive.pkgs.iwona;
|
|
dontUnpack = true;
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
install -Dm644 $src/fonts/opentype/nowacki/iwona/*.otf -t $out/share/fonts/opentype
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = {
|
|
description = "Two-element sans-serif typeface, created by Małgorzata Budyta";
|
|
homepage = "https://jmn.pl/en/kurier/";
|
|
# "[...] 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 = src.meta.license;
|
|
maintainers = with lib.maintainers; [ siddharthist ];
|
|
platforms = lib.platforms.all;
|
|
};
|
|
}
|