mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-16 01:45:11 +00:00
4f0dadbf38
After final improvements to the official formatter implementation, this commit now performs the first treewide reformat of Nix files using it. This is part of the implementation of RFC 166. Only "inactive" files are reformatted, meaning only files that aren't being touched by any PR with activity in the past 2 months. This is to avoid conflicts for PRs that might soon be merged. Later we can do a full treewide reformat to get the rest, which should not cause as many conflicts. A CI check has already been running for some time to ensure that new and already-formatted files are formatted, so the files being reformatted here should also stay formatted. This commit was automatically created and can be verified using nix-builda08b3a4d19
.tar.gz \ --argstr baseRevb32a094368
result/bin/apply-formatting $NIXPKGS_PATH
48 lines
1.7 KiB
Nix
48 lines
1.7 KiB
Nix
{
|
|
lib,
|
|
stdenvNoCC,
|
|
fetchzip,
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "hyperscrypt";
|
|
version = "1.1";
|
|
|
|
src = fetchzip {
|
|
url = "https://gitlab.com/StudioTriple/Hyper-Scrypt/-/archive/${version}/Hyper-Scrypt-${version}.zip";
|
|
hash = "sha256-ONlAB9C/GYK6KmOaiHCYErkS6OlQ3TUnoumNDHGZnes=";
|
|
};
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
install -Dm644 fonts/HyperScrypt_Web/*.ttf -t $out/share/fonts/truetype/
|
|
install -Dm644 fonts/HyperScrypt_Web/*.otf fonts/*.otf -t $out/share/fonts/opentype/
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://velvetyne.fr/fonts/hyper-scrypt/";
|
|
description = "Modern stencil typeface inspired by stained glass technique";
|
|
longDescription = ''
|
|
The Hyper Scrypt typeface was designed for the Hyper Chapelle
|
|
exhibition. It was commissioned by AAAAA Atelier to Studio
|
|
Triple's designer Jérémy Landes. Hyper Scrypt is a modern
|
|
stencil typeface inspired by the stained glass technique used in
|
|
the Metz cathedral. It borrows the stained glass method, drawing
|
|
holes for the light with black lead. This creates a reverse
|
|
typeface, where the shapes of the letters are drawn by their
|
|
counters. Hyper Scrypt is at the intersection between 3 metals :
|
|
the sacred lead of stained glass, the lead of print characters
|
|
and the heavy metal. Despite its organic look inherited for the
|
|
molted metal, Hyper Scrypt is based upon a rigorous grid,
|
|
allowing some neat alignements between shapes in multi lines
|
|
layouts.
|
|
'';
|
|
license = licenses.ofl;
|
|
maintainers = with maintainers; [ leenaars ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|