audiobookshelf: 2.18.1 -> 2.19.0 (#378967)
[NixPkgs.git] / pkgs / by-name / kr / kreative-square-fonts / package.nix
blobd27fbea98034518ef348e0322d82b5182b465ec9
2   lib,
3   stdenvNoCC,
4   fetchFromGitHub,
5 }:
7 stdenvNoCC.mkDerivation {
8   pname = "kreative-square-fonts";
9   version = "unstable-2021-01-29";
11   src = fetchFromGitHub {
12     owner = "kreativekorp";
13     repo = "open-relay";
14     rev = "084f05af3602307499981651eca56851bec01fca";
15     hash = "sha256-+ihosENczaGal3BGDIaJ/de0pf8txdtelSYMxPok6ww=";
16   };
18   installPhase = ''
19     runHook preInstall
21     install -Dm444 -t $out/share/fonts/truetype/ KreativeSquare/KreativeSquare.ttf
22     install -Dm444 -t $out/share/fonts/truetype/ KreativeSquare/KreativeSquareSM.ttf
24     runHook postInstall
25   '';
27   meta = with lib; {
28     description = "Fullwidth scalable monospace font designed specifically to support pseudographics, semigraphics, and private use characters";
29     homepage = "https://www.kreativekorp.com/software/fonts/ksquare.shtml";
30     license = licenses.ofl;
31     platforms = platforms.all;
32     maintainers = [ maintainers.linus ];
33   };