depot/third_party/nixpkgs/pkgs/data/fonts/blackout/default.nix
Default email c7e6337bd0 Project import generated by Copybara.
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
2023-04-29 12:46:19 -04:00

36 lines
1 KiB
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ lib, fetchFromGitHub, stdenvNoCC }:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "blackout";
version = "2014-07-29";
src = fetchFromGitHub {
owner = "theleagueof";
repo = finalAttrs.pname;
rev = "4864cfc1749590e9f78549c6e57116fe98480c0f";
hash = "sha256-UmJVmtuPQYW/w+mdnJw9Ql4R1xf/07l+/Ky1wX9WKqw=";
};
installPhase = ''
runHook preInstall
install -D -m444 -t $out/share/fonts/truetype $src/*.ttf
runHook postInstall
'';
meta = {
description = "A bad-ass, unholy-mother-shut-your-mouth stencil sans-serif";
longDescription = ''
Eats holes for breakfast lunch and dinner. Inspired by filling in
sans-serif newspaper headlines. Continually updated with coffee and
music. Makes your work louder than the next persons.
Comes in three styles: Midnight (solid), 2AM (reversed), & Sunrise
(stroked).
'';
homepage = "https://www.theleagueofmoveabletype.com/blackout";
license = lib.licenses.ofl;
maintainers = with lib.maintainers; [ minijackson ];
};
})