Unverified Commit 0c939841 authored by Arne Keller's avatar Arne Keller Committed by GitHub
Browse files

komika-fonts: correct meta/version, split package (#458716)

parents a746b2c7 f2802994
Loading
Loading
Loading
Loading
+3 −30
Original line number Diff line number Diff line
@@ -8,11 +8,6 @@
    "poster"
    "text"
    "title"
    "komikahuna"
    "komikandy"
    "komikazba"
    "komikaze"
    "komikazoom"
  ],
}:

@@ -57,26 +52,6 @@ let
        "Referer: https://www.1001freefonts.com/komika-title.font"
      ];
    };
    "komikahuna" = {
      url = "https://www.1001fonts.com/download/komikahuna.zip";
      hash = "sha256-TjGxQA3ZyIOyJUNP+MVkYiSDk9WDIDPy3d2ttWC1aoc=";
    };
    "komikandy" = {
      url = "https://www.1001fonts.com/download/komikandy.zip";
      hash = "sha256-NqpR+gM2giTHGUBYoJlO8vkzOD0ep7LzAry3nIagjLY=";
    };
    "komikazba" = {
      url = "https://www.1001fonts.com/download/komikazba.zip";
      hash = "sha256-SGJMP0OdZ/AEImN5S3QshCbWSLXO4qTjHnSQYqoy3Pc=";
    };
    "komikaze" = {
      url = "https://www.1001fonts.com/download/komikaze.zip";
      hash = "sha256-daJRwgkzL5v224KwkaGMK2FqVnfin8+8WvMTvXTkCGE=";
    };
    "komikazoom" = {
      url = "https://www.1001fonts.com/download/komikazoom.zip";
      hash = "sha256-/o2QPPPiQBkNU0XRxJyI0+5CKFEv4FKU3A5ku1zyVX4=";
    };

  };
  knownFonts = lib.attrNames fontMap;
@@ -95,20 +70,18 @@ let
in
stdenvNoCC.mkDerivation {
  pname = "komika-fonts";
  version = "0-unstable-2024-08-12";
  version = "0-unstable-2001-06-16";
  sourceRoot = ".";

  srcs = map (variant: fetchFont fontMap.${variant}) selectedFonts;
  installPhase = ''
    runHook preInstall
    mkdir -p $out/share/fonts/ttf
    mv **/*.ttf $out/share/fonts/ttf
    install -Dm444 **/*.ttf -t $out/share/fonts/ttf
    runHook postInstall
  '';

  meta = {
    homepage = "https://moorstation.org/typoasis/designers/lab/index.htm";
    # description from archive here: http://web.archive.org/web/20030422173903fw_/http://www.hardcovermedia.com/lab/Pages/Fontpages/komikahands.html
    homepage = "https://pedroreina.net/apostrophiclab/";
    description = "First ever comic lettering super family";
    longDescription = ''
      50 fonts, covering everything the comic artist needs when it comes to lettering. 10 text faces, 10 display faces, 10 tiling faces, 10 hand variations, 9 poster faces, and 20 balloons in a font.
+29 −0
Original line number Diff line number Diff line
{
  stdenvNoCC,
  lib,
  fetchzip,
}:

stdenvNoCC.mkDerivation {
  pname = "komikahuna";
  version = "0-unstable-2000-10-14";

  src = fetchzip {
    url = "https://www.1001fonts.com/download/komikahuna.zip";
    hash = "sha256-TjGxQA3ZyIOyJUNP+MVkYiSDk9WDIDPy3d2ttWC1aoc=";
    stripRoot = false;
  };

  installPhase = ''
    runHook preInstall
    install -Dm444 *.ttf -t $out/share/fonts/ttf
    runHook postInstall
  '';

  meta = {
    homepage = "https://pedroreina.net/apostrophiclab/0049-Komikahuna/komikahuna.html";
    license = lib.licenses.unfree;
    maintainers = with lib.maintainers; [ pancaek ];
    platforms = lib.platforms.all;
  };
}
+29 −0
Original line number Diff line number Diff line
{
  stdenvNoCC,
  lib,
  fetchzip,
}:

stdenvNoCC.mkDerivation {
  pname = "komikandy";
  version = "0-unstable-2001-05-12";

  src = fetchzip {
    url = "https://www.1001fonts.com/download/komikandy.zip";
    hash = "sha256-NqpR+gM2giTHGUBYoJlO8vkzOD0ep7LzAry3nIagjLY=";
    stripRoot = false;
  };

  installPhase = ''
    runHook preInstall
    install -Dm444 *.ttf -t $out/share/fonts/ttf
    runHook postInstall
  '';

  meta = {
    homepage = "https://pedroreina.net/apostrophiclab/0122-Komikandy/komikandy.html";
    license = lib.licenses.unfree;
    maintainers = with lib.maintainers; [ pancaek ];
    platforms = lib.platforms.all;
  };
}
+29 −0
Original line number Diff line number Diff line
{
  stdenvNoCC,
  lib,
  fetchzip,
}:

stdenvNoCC.mkDerivation {
  pname = "komikazba";
  version = "0-unstable-2000-10-30";

  src = fetchzip {
    url = "https://www.1001fonts.com/download/komikazba.zip";
    hash = "sha256-SGJMP0OdZ/AEImN5S3QshCbWSLXO4qTjHnSQYqoy3Pc=";
    stripRoot = false;
  };

  installPhase = ''
    runHook preInstall
    install -Dm444 *.ttf -t $out/share/fonts/ttf
    runHook postInstall
  '';

  meta = {
    homepage = "https://pedroreina.net/apostrophiclab/0052-Komikazba/komikazba.html";
    license = lib.licenses.unfree;
    maintainers = with lib.maintainers; [ pancaek ];
    platforms = lib.platforms.all;
  };
}
+29 −0
Original line number Diff line number Diff line
{
  stdenvNoCC,
  lib,
  fetchzip,
}:

stdenvNoCC.mkDerivation {
  pname = "komikaze";
  version = "0-unstable-2000-09-23";

  src = fetchzip {
    url = "https://www.1001fonts.com/download/komikaze.zip";
    hash = "sha256-daJRwgkzL5v224KwkaGMK2FqVnfin8+8WvMTvXTkCGE=";
    stripRoot = false;
  };

  installPhase = ''
    runHook preInstall
    install -Dm444 *.ttf -t $out/share/fonts/ttf
    runHook postInstall
  '';

  meta = {
    homepage = "https://pedroreina.net/apostrophiclab/0045-Komikaze/komikaze.html";
    license = lib.licenses.unfree;
    maintainers = with lib.maintainers; [ pancaek ];
    platforms = lib.platforms.all;
  };
}
Loading