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:
parent
be1f5c1df1
commit
e5e962b4b6
1
logo/font/.gitignore
vendored
Normal file
1
logo/font/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
result
|
40
logo/font/602.nix
Normal file
40
logo/font/602.nix
Normal 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
14
logo/font/README.md
Normal 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
5
logo/font/build.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{ pkgs ? import <nixpkgs> {} }:
|
||||
|
||||
{
|
||||
vegur602 = pkgs.callPackage ./602.nix {};
|
||||
}
|
BIN
logo/font/vegur.602.zip
Normal file
BIN
logo/font/vegur.602.zip
Normal file
Binary file not shown.
Loading…
Reference in a new issue