1 { lib, stdenvNoCC, fetchzip }:
3 stdenvNoCC.mkDerivation rec {
5 version = "unstable-2016-08-01"; # date in the zip file, actual creation date unknown
9 "https://fontlibrary.org/assets/downloads/u001/3ea00b3c0c8fa6ce4373e5766fafd651/u001.zip"
10 "https://web.archive.org/web/20220830085803/https://fontlibrary.org/assets/downloads/u001/3ea00b3c0c8fa6ce4373e5766fafd651/u001.zip"
12 hash = "sha256-7H32pfr0g68XP5B48VUY99e6fbd7rhH6fEnCKNXWEkU=";
19 TTF_DIR=$out/share/fonts/truetype
23 # We’ll adjust the nonstandard naming convention here
24 cp u001-reg.ttf $TTF_DIR/U001-Regular.ttf
25 cp u001-ita.ttf $TTF_DIR/U001-Italic.ttf
26 cp u001-bol.ttf $TTF_DIR/U001-Bold.ttf
27 cp u001-bolita.ttf $TTF_DIR/U001-BoldItalic.ttf
28 cp u001con-reg.ttf $TTF_DIR/U001Condensed-Regular.ttf
29 cp u001con-ita.ttf $TTF_DIR/U001Condensed-Italic.ttf
30 cp u001con-bol.ttf $TTF_DIR/U001Condensed-Bold.ttf
31 cp u001con-bolita.ttf $TTF_DIR/U001Condensed-BoldItalic.ttf
37 description = "Univers-like typeface that comes with GhostPDL made by URW++";
38 homepage = "https://fontlibrary.org/en/font/u001";
39 license = licenses.aladdin;
40 platforms = platforms.all;
41 maintainers = with maintainers; [ toastal ];