nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, fetchFromGitHub, stdenvNoCC }:
2
3stdenvNoCC.mkDerivation (finalAttrs: {
4 pname = "blackout";
5 version = "2014-07-29";
6
7 src = fetchFromGitHub {
8 owner = "theleagueof";
9 repo = finalAttrs.pname;
10 rev = "4864cfc1749590e9f78549c6e57116fe98480c0f";
11 hash = "sha256-UmJVmtuPQYW/w+mdnJw9Ql4R1xf/07l+/Ky1wX9WKqw=";
12 };
13
14 installPhase = ''
15 runHook preInstall
16
17 install -D -m444 -t $out/share/fonts/truetype $src/*.ttf
18
19 runHook postInstall
20 '';
21
22 meta = {
23 description = "A bad-ass, unholy-mother-shut-your-mouth stencil sans-serif";
24 longDescription = ''
25 Eats holes for breakfast lunch and dinner. Inspired by filling in
26 sans-serif newspaper headlines. Continually updated with coffee and
27 music. Makes your work louder than the next person’s.
28
29 Comes in three styles: Midnight (solid), 2AM (reversed), & Sunrise
30 (stroked).
31 '';
32 homepage = "https://www.theleagueofmoveabletype.com/blackout";
33 license = lib.licenses.ofl;
34 maintainers = with lib.maintainers; [ minijackson ];
35 };
36})