mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
Merge pull request #45164 from samueldr/font/vegur.701
vegur: init at 0.701
This commit is contained in:
commit
dc1b036c96
33
pkgs/data/fonts/vegur/default.nix
Normal file
33
pkgs/data/fonts/vegur/default.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ stdenv, rpmextract, fetchurl, unzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.701";
|
||||
name = "vegur-font-${version}";
|
||||
|
||||
# Upstream doesn't version their URLs.
|
||||
# http://dotcolon.net/font/vegur/ → http://dotcolon.net/DL/font/vegur.zip
|
||||
src = fetchurl {
|
||||
url = "http://download.opensuse.org/repositories/M17N:/fonts/SLE_12_SP3/src/dotcolon-vegur-fonts-0.701-1.4.src.rpm";
|
||||
sha256 = "0ra3fds3b352rpzn0015km539c3l2ik2lqd5x6fr65ss9fg2xn34";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ rpmextract unzip ];
|
||||
|
||||
unpackPhase = ''
|
||||
rpmextract $src
|
||||
unzip vegur.zip
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/Vegur
|
||||
cp *.otf $out/share/fonts/Vegur
|
||||
'';
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
@ -15144,6 +15144,8 @@ with pkgs;
|
||||
|
||||
vdrsymbols = callPackage ../data/fonts/vdrsymbols { };
|
||||
|
||||
vegur = callPackage ../data/fonts/vegur { };
|
||||
|
||||
vistafonts = callPackage ../data/fonts/vista-fonts { };
|
||||
|
||||
vistafonts-chs = callPackage ../data/fonts/vista-fonts-chs { };
|
||||
|
Loading…
Reference in New Issue
Block a user