about summary refs log tree commit diff
path: root/pkgs/by-name/qu/quinze/package.nix
blob: dd029db212370ab672a13b57704e01dbdeb1e3ab (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
28
{ lib, stdenvNoCC, fetchzip }:

stdenvNoCC.mkDerivation {
  name = "quinze";
  version = "2018-09-22";

  src = fetchzip {
    url = "https://fontlibrary.org/assets/downloads/quinze/0271bb7be00ea75dcfa06ef7c7f1054e/quinze.zip";
    hash = "sha256-6C6drbAHme38tF2PtY/YFDdHCbR0JURs4F/K+KZqKiQ=";
    stripRoot = false;
  };

  installPhase = ''
    runHook preInstall

    install -m444 -Dt $out/share/fonts/truetype *.ttf

    runHook postInstall
  '';

  meta = with lib; {
    description = "narrow monospaced font, designed to fit a fifteen pixel bitmap";
    homepage = "https://fontlibrary.org/en/font/quinze";
    license = licenses.ofl;
    maintainers = with maintainers; [ phunehehe ];
    platforms = platforms.all;
  };
}