mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-08 22:14:34 +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.
39 lines
1.1 KiB
Nix
39 lines
1.1 KiB
Nix
{ lib, fetchFromGitHub, stdenvNoCC }:
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
pname = "chunk";
|
|
version = "2021-03-03";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "theleagueof";
|
|
repo = "chunk";
|
|
rev = "12a243f3fb7c7a68844901023f7d95d6eaf14104";
|
|
hash = "sha256-NMkRvrUgy9yzOT3a1rN6Ch/p8Cr902CwL4G0w7jVm1E=";
|
|
};
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
install -D -m444 -t $out/share/fonts/truetype $src/*.ttf
|
|
install -D -m444 -t $out/share/fonts/opentype $src/*.otf
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = {
|
|
description = "Ultra-bold, ultra-awesome slab serif typeface";
|
|
longDescription = ''
|
|
Chunk is an ultra-bold slab serif typeface that is reminiscent of old
|
|
American Western woodcuts, broadsides, and newspaper headlines. Used
|
|
mainly for display, the fat block lettering is unreserved yet refined for
|
|
contemporary use.
|
|
|
|
In 2014, a new textured style was created by Tyler Finck called Chunk
|
|
Five Print. It contains the same glyphs as the original.
|
|
'';
|
|
homepage = "https://www.theleagueofmoveabletype.com/chunk";
|
|
license = lib.licenses.ofl;
|
|
maintainers = with lib.maintainers; [ minijackson ];
|
|
};
|
|
}
|