1
0
Fork 0
mirror of https://github.com/NixOS/nixos-artwork synced 2024-10-18 00:06:24 -04:00

Adds the font files to the repository.

This is a locally available cache for posterity.
This commit is contained in:
Samuel Dionne-Riel 2018-08-16 21:46:04 -04:00
parent be1f5c1df1
commit e5e962b4b6
5 changed files with 60 additions and 0 deletions

1
logo/font/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
result

40
logo/font/602.nix Normal file
View file

@ -0,0 +1,40 @@
{stdenv, python36Packages, unzip}:
stdenv.mkDerivation rec {
name = "vegur602-${version}";
version = "0.602";
src = ./vegur.602.zip;
unpackPhase = ''
unzip $src
'';
nativeBuildInputs = [ unzip python36Packages.fonttools ];
patchPhase = ''
ttx *.otf
rm *.otf
for f in *.ttx; do
substituteInPlace "$f" \
--replace 'Vegur' 'Vegur602' \
--replace 'vegur' 'vegur602'
ttx "$f"
done
'';
installPhase = ''
mkdir -p $out/share/fonts/vegur602
for f in *.otf; do
mv "$f" "$out/share/fonts/vegur602/"
done
'';
meta = with stdenv.lib; {
homepage = http://dotcolon.net/font/vegur/;
description = "A humanist sans serif font.";
platforms = platforms.all;
maintainers = [ maintainers.samueldr ];
license = licenses.cc0;
};
}

14
logo/font/README.md Normal file
View file

@ -0,0 +1,14 @@
# Vegur (0.602)
This is a mirror of the hard-to-find Vegur 0.602, by the dotcolon foundry.
This is the font used for the NixOS logo.
* http://dotcolon.net/font/vegur/ (new version only)
* https://web.archive.org/web/20110109162345/http://www.dotcolon.net/font/font.php?id=1
* https://web.archive.org/web/20110109164714if_/http://www.dotcolon.net/DL/font/vegur.zip
* https://web.archive.org/web/20120828195558/http://www.dotcolon.net:80/font/?id=vegur
```
1127dc8c16f558b128298ed2437fc687e77c81993bd244570292a3c6300dfdf9 vegur.602.zip
```

5
logo/font/build.nix Normal file
View file

@ -0,0 +1,5 @@
{ pkgs ? import <nixpkgs> {} }:
{
vegur602 = pkgs.callPackage ./602.nix {};
}

BIN
logo/font/vegur.602.zip Normal file

Binary file not shown.