1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 05:00:16 +00:00

Add Tempora-LGC font

svn path=/nixpkgs/trunk/; revision=27309
This commit is contained in:
Michael Raskin 2011-05-28 16:04:02 +00:00
parent a37fc29f81
commit f709eff234
2 changed files with 53 additions and 2 deletions

View file

@ -0,0 +1,49 @@
x@{builderDefsPackage
, unzip
, ...}:
builderDefsPackage
(a :
let
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
[];
buildInputs = map (n: builtins.getAttr n x)
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
sourceInfo = rec {
version="0.2";
baseName="tempora-lgc";
name="${baseName}-${version}";
url="http://www.thessalonica.org.ru/downloads/${baseName}.otf.zip";
hash="18n5ml2chc1bhrv43i64sz2dz1zc2dw087wcwn5l9ysqsmf0387i";
};
in
rec {
src = a.fetchurl {
url = sourceInfo.url;
sha256 = sourceInfo.hash;
};
inherit (sourceInfo) name version;
inherit buildInputs;
phaseNames = ["doUnpack" "installFonts"];
doUnpack = a.fullDepEntry ''
unzip ${src}
'' ["addInputs"];
meta = {
maintainers = with a.lib.maintainers;
[
raskin
];
platforms = with a.lib.platforms;
all;
};
passthru = {
updateInfo = {
downloadPage = "http://www.thessalonica.org.ru/ru/fonts-download.html";
};
};
}) x

View file

@ -5780,10 +5780,12 @@ let
inherit fetchurl;
};
terminus_font = callPackage ../data/fonts/terminus-font { };
theano = callPackage ../data/fonts/theano { };
tempora_lgc = callPackage ../data/fonts/tempora-lgc { };
terminus_font = callPackage ../data/fonts/terminus-font { };
ttf_bitstream_vera = callPackage ../data/fonts/ttf-bitstream-vera { };
ucsFonts = callPackage ../data/fonts/ucs-fonts { };