2015-06-12 00:17:53 +02:00
|
|
|
{ stdenv, fetchzip }:
|
2011-05-28 17:46:09 +02:00
|
|
|
|
2015-06-12 00:17:53 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "oldstandard-${version}";
|
|
|
|
version = "2.2";
|
|
|
|
|
|
|
|
src = fetchzip {
|
|
|
|
stripRoot = false;
|
|
|
|
url = "https://github.com/akryukov/oldstand/releases/download/v${version}/${name}.otf.zip";
|
|
|
|
sha256 = "1hl78jw5szdjq9dhbcv2ln75wpp2lzcxrnfc36z35v5wk4l7jc3h";
|
2011-05-28 17:46:09 +02:00
|
|
|
};
|
|
|
|
|
2015-06-12 00:17:53 +02:00
|
|
|
phases = [ "unpackPhase" "installPhase" ];
|
2011-05-28 17:46:09 +02:00
|
|
|
|
2015-06-12 00:17:53 +02:00
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/share/fonts/opentype
|
|
|
|
mkdir -p $out/share/doc/${name}
|
|
|
|
cp -v *.otf $out/share/fonts/opentype/
|
|
|
|
cp -v FONTLOG.txt $out/share/doc/${name}
|
|
|
|
'';
|
2011-05-28 17:46:09 +02:00
|
|
|
|
2015-06-12 00:17:53 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
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
|
|
|
}
|