2021-01-15 07:29:18 +00:00
|
|
|
{lib, stdenv, fetchurl}:
|
2015-03-21 16:10:45 +00:00
|
|
|
let
|
|
|
|
srcs = [
|
|
|
|
(fetchurl {
|
2020-04-01 02:11:51 +01:00
|
|
|
url = "http://www.ttfotf.com/download-font/tempora-lgc-unicode-bold-italic.otf";
|
2015-03-21 16:10:45 +00:00
|
|
|
sha256 = "1yfbi62j6gjmzglxz29m6x6lxqpxghcqjjh916qn8in74ba5v0gq";
|
|
|
|
})
|
|
|
|
(fetchurl {
|
2020-04-01 02:11:51 +01:00
|
|
|
url = "http://www.ttfotf.com/download-font/tempora-lgc-unicode-bold.otf";
|
2015-03-21 16:10:45 +00:00
|
|
|
sha256 = "0bfbl1h9h1022km2rg1zwl9lpabhnwdsvzdp0bwmf0wbm62550cp";
|
|
|
|
})
|
|
|
|
(fetchurl {
|
2020-04-01 02:11:51 +01:00
|
|
|
url = "http://www.ttfotf.com/download-font/tempora-lgc-unicode-italic.otf";
|
2015-03-21 16:10:45 +00:00
|
|
|
sha256 = "10m9j4bvr6c4zp691wxm4hvzhph2zlfsxk1nmbsb9vn1i6vfgz04";
|
|
|
|
})
|
|
|
|
(fetchurl {
|
2020-04-01 02:11:51 +01:00
|
|
|
url = "http://www.ttfotf.com/download-font/tempora-lgc-unicode.otf";
|
2015-03-21 16:10:45 +00:00
|
|
|
sha256 = "0iwa8wyydcpjss6d1jy4jibqxpvzph4vmaxwwmndpsqy1fz64y9i";
|
|
|
|
})
|
|
|
|
];
|
2018-01-10 00:27:23 +00:00
|
|
|
nativeBuildInputs = [
|
2015-03-21 16:10:45 +00:00
|
|
|
];
|
2011-05-28 17:04:02 +01:00
|
|
|
in
|
2015-03-21 16:10:45 +00:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "tempora-lgc";
|
2018-01-10 00:27:23 +00:00
|
|
|
inherit nativeBuildInputs;
|
2015-03-21 16:10:45 +00:00
|
|
|
inherit srcs;
|
|
|
|
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";
|
|
|
|
|
2011-05-28 17:04:02 +01:00
|
|
|
meta = {
|
2021-01-16 04:20:42 +00:00
|
|
|
description = "Tempora font";
|
2021-01-15 07:29:18 +00:00
|
|
|
license = lib.licenses.gpl2 ;
|
|
|
|
maintainers = [lib.maintainers.raskin];
|
2011-05-28 17:04:02 +01:00
|
|
|
};
|
2015-03-21 16:10:45 +00:00
|
|
|
}
|