nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, stdenvNoCC, fetchzip }:
2
3stdenvNoCC.mkDerivation rec {
4 pname = "hyperscrypt";
5 version = "1.1";
6
7 src = fetchzip {
8 url = "https://gitlab.com/StudioTriple/Hyper-Scrypt/-/archive/${version}/Hyper-Scrypt-${version}.zip";
9 hash = "sha256-ONlAB9C/GYK6KmOaiHCYErkS6OlQ3TUnoumNDHGZnes=";
10 };
11
12 installPhase = ''
13 runHook preInstall
14
15 install -Dm644 fonts/HyperScrypt_Web/*.ttf -t $out/share/fonts/truetype/
16 install -Dm644 fonts/HyperScrypt_Web/*.otf fonts/*.otf -t $out/share/fonts/opentype/
17
18 runHook postInstall
19 '';
20
21 meta = with lib; {
22 homepage = "https://velvetyne.fr/fonts/hyper-scrypt/";
23 description = "A modern stencil typeface inspired by stained glass technique";
24 longDescription = ''
25 The Hyper Scrypt typeface was designed for the Hyper Chapelle
26 exhibition. It was commissioned by AAAAA Atelier to Studio
27 Triple's designer Jérémy Landes. Hyper Scrypt is a modern
28 stencil typeface inspired by the stained glass technique used in
29 the Metz cathedral. It borrows the stained glass method, drawing
30 holes for the light with black lead. This creates a reverse
31 typeface, where the shapes of the letters are drawn by their
32 counters. Hyper Scrypt is at the intersection between 3 metals :
33 the sacred lead of stained glass, the lead of print characters
34 and the heavy metal. Despite its organic look inherited for the
35 molted metal, Hyper Scrypt is based upon a rigorous grid,
36 allowing some neat alignements between shapes in multi lines
37 layouts.
38 '';
39 license = licenses.ofl;
40 maintainers = with maintainers; [ leenaars ];
41 platforms = platforms.all;
42 };
43}