mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-07 05:23:16 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
37 lines
1.0 KiB
Nix
37 lines
1.0 KiB
Nix
{ lib, fetchFromGitHub, stdenvNoCC }:
|
||
|
||
stdenvNoCC.mkDerivation {
|
||
pname = "blackout";
|
||
version = "2014-07-29";
|
||
|
||
src = fetchFromGitHub {
|
||
owner = "theleagueof";
|
||
repo = "blackout";
|
||
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 = "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 person’s.
|
||
|
||
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 ];
|
||
};
|
||
}
|