nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, fetchFromGitHub, stdenvNoCC }:
2
3stdenvNoCC.mkDerivation (finalAttrs: {
4 pname = "league-script-number-one";
5 version = "2011-05-25";
6
7 src = fetchFromGitHub {
8 owner = "theleagueof";
9 repo = finalAttrs.pname;
10 rev = "225add0b37cf8268759ba4572e02630d9fb54ecf";
11 hash = "sha256-Z3Zrp0Os3On0tESVical1Qh6wY1H2Hc0OPTlkbtsrCI=";
12 };
13
14 installPhase = ''
15 runHook preInstall
16
17 install -D -m444 -t $out/share/fonts/opentype $src/*.otf
18
19 runHook postInstall
20 '';
21
22 meta = {
23 description = "A modern, coquettish script font";
24 longDescription = ''
25 This ain’t no Lucinda. League Script #1 is a modern, coquettish script
26 font that sits somewhere between your high school girlfriend’s love notes
27 and handwritten letters from the ’20s. Designed exclusively for the
28 League of Moveable Type, it includes ligatures and will act as the
29 framework for future script designs.
30 '';
31 homepage = "https://www.theleagueofmoveabletype.com/league-script";
32 license = lib.licenses.ofl;
33 maintainers = with lib.maintainers; [ minijackson ];
34 };
35})