2019-05-13 03:55:32 +02:00
|
|
|
{ lib, fetchzip }:
|
2011-05-28 17:46:09 +02:00
|
|
|
|
2019-05-13 03:55:32 +02:00
|
|
|
let
|
2015-06-12 00:17:53 +02:00
|
|
|
version = "2.2";
|
2019-05-13 03:55:32 +02:00
|
|
|
in fetchzip rec {
|
|
|
|
name = "oldstandard-${version}";
|
2015-06-12 00:17:53 +02:00
|
|
|
|
2019-05-13 03:55:32 +02:00
|
|
|
url = "https://github.com/akryukov/oldstand/releases/download/v${version}/${name}.otf.zip";
|
2011-05-28 17:46:09 +02:00
|
|
|
|
2019-05-13 03:55:32 +02:00
|
|
|
postFetch = ''
|
|
|
|
unzip $downloadedFile
|
|
|
|
install -m444 -Dt $out/share/fonts/opentype *.otf
|
|
|
|
install -m444 -Dt $out/share/doc/${name} FONTLOG.txt
|
2015-06-12 00:17:53 +02:00
|
|
|
'';
|
2011-05-28 17:46:09 +02:00
|
|
|
|
2019-05-13 03:55:32 +02:00
|
|
|
sha256 = "1qwfsyp51grr56jcnkkmnrnl3r20pmhp9zh9g88kp64m026cah6n";
|
2017-08-10 21:43:49 +02:00
|
|
|
|
2019-05-13 03:55:32 +02:00
|
|
|
meta = with lib; {
|
2015-06-12 00:17:53 +02:00
|
|
|
homepage = https://github.com/akryukov/oldstand;
|
|
|
|
description = "An attempt to revive a specific type of Modern style of serif typefaces";
|
|
|
|
maintainers = with maintainers; [ raskin rycee ];
|
|
|
|
license = licenses.ofl;
|
|
|
|
platforms = platforms.all;
|
2011-05-28 17:46:09 +02:00
|
|
|
};
|
2015-06-12 00:17:53 +02:00
|
|
|
}
|