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