nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, fetchFromGitHub, stdenvNoCC }:
2
3stdenvNoCC.mkDerivation (finalAttrs: {
4 pname = "knewave";
5 version = "2012-07-30";
6
7 src = fetchFromGitHub {
8 owner = "theleagueof";
9 repo = finalAttrs.pname;
10 rev = "f335d5ff1f12e4acf97d4208e1c37b4d386e57fb";
11 hash = "sha256-SaJU2GlxU7V3iJNQzFKg1YugaPsiJuSZpC8NCqtWyz0=";
12 };
13
14 installPhase = ''
15 runHook preInstall
16
17 install -D -m444 -t $out/share/fonts/truetype $src/*.ttf
18 install -D -m444 -t $out/share/fonts/opentype $src/*.otf
19
20 runHook postInstall
21 '';
22
23 meta = {
24 description = " A bold, painted face for the rocker within";
25 longDescription = ''
26 Knewave is bold, painted face. Get it? Git it.
27 '';
28 homepage = "https://www.theleagueofmoveabletype.com/knewave";
29 license = lib.licenses.ofl;
30 maintainers = with lib.maintainers; [ minijackson ];
31 };
32})