2019-05-13 04:55:32 +03:00
|
|
|
{ lib, fetchzip }:
|
2016-09-11 04:24:58 +03:00
|
|
|
|
2017-08-10 22:43:49 +03:00
|
|
|
fetchzip rec {
|
2016-09-11 04:24:58 +03:00
|
|
|
name = "encode-sans-1.002";
|
|
|
|
|
2017-08-10 22:43:49 +03:00
|
|
|
url = https://github.com/impallari/Encode-Sans/archive/11162b46892d20f55bd42a00b48cbf06b5871f75.zip;
|
2016-09-11 04:24:58 +03:00
|
|
|
|
2017-08-10 22:43:49 +03:00
|
|
|
postFetch = ''
|
|
|
|
mkdir -p $out/share/{doc,fonts}
|
|
|
|
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
|
|
|
unzip -j $downloadedFile \*README.md \*FONTLOG.txt -d "$out/share/doc/${name}"
|
2016-09-11 04:24:58 +03:00
|
|
|
'';
|
|
|
|
|
2017-08-10 22:43:49 +03:00
|
|
|
sha256 = "16mx894zqlwrhnp4rflgayxhxppmsj6k7haxdngajhb30rlwf08p";
|
|
|
|
|
2019-05-13 04:55:32 +03:00
|
|
|
meta = with lib; {
|
2016-09-11 04:24:58 +03:00
|
|
|
description = "A versatile sans serif font family";
|
|
|
|
longDescription = ''
|
|
|
|
The Encode Sans family is a versatile workhorse. Featuring a huge range of
|
|
|
|
weights and widths, it's ready for all kind of typographic challenges. It
|
|
|
|
also includes Tabular and Old Style figures, as well as full set of Small
|
|
|
|
Caps and other Open Type features.
|
|
|
|
|
|
|
|
Designed by Pablo Impallari and Andres Torresi.
|
|
|
|
'';
|
|
|
|
homepage = http://www.impallari.com/projects/overview/encode;
|
|
|
|
license = licenses.ofl;
|
|
|
|
maintainers = with maintainers; [ cmfwyp ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|