1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-19 20:36:27 +00:00
nixpkgs/pkgs/data/fonts/tempora-lgc/default.nix

44 lines
1.3 KiB
Nix
Raw Normal View History

{stdenv, fetchurl}:
let
srcs = [
(fetchurl {
2016-05-09 14:35:41 +01:00
url = http://www.ttfotf.com/download-font/tempora-lgc-unicode-bold-italic.otf;
sha256 = "1yfbi62j6gjmzglxz29m6x6lxqpxghcqjjh916qn8in74ba5v0gq";
})
(fetchurl {
2016-05-09 14:35:41 +01:00
url = http://www.ttfotf.com/download-font/tempora-lgc-unicode-bold.otf;
sha256 = "0bfbl1h9h1022km2rg1zwl9lpabhnwdsvzdp0bwmf0wbm62550cp";
})
(fetchurl {
2016-05-09 14:35:41 +01:00
url = http://www.ttfotf.com/download-font/tempora-lgc-unicode-italic.otf;
sha256 = "10m9j4bvr6c4zp691wxm4hvzhph2zlfsxk1nmbsb9vn1i6vfgz04";
})
(fetchurl {
2016-05-09 14:35:41 +01:00
url = http://www.ttfotf.com/download-font/tempora-lgc-unicode.otf;
sha256 = "0iwa8wyydcpjss6d1jy4jibqxpvzph4vmaxwwmndpsqy1fz64y9i";
})
];
nativeBuildInputs = [
];
in
stdenv.mkDerivation {
name = "tempora-lgc";
inherit nativeBuildInputs;
inherit srcs;
phases = "installPhase";
installPhase = ''
mkdir -p "$out/share/fonts/opentype/public"
cp ${toString srcs} "$out/share/fonts/opentype/public"
'';
2017-08-10 20:43:49 +01:00
outputHashAlgo = "sha256";
outputHashMode = "recursive";
outputHash = "1kwj31cjgdirqvh6bxs4fnvvr1ppaz6z8w40kvhkivgs69jglmzw";
meta = {
description = ''Tempora font'';
license = stdenv.lib.licenses.gpl2 ;
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;
};
}