mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
26 lines
781 B
Nix
26 lines
781 B
Nix
{ lib, fetchzip }:
|
|
|
|
let
|
|
version = "2.0";
|
|
in fetchzip rec {
|
|
name = "quattrocento-sans-${version}";
|
|
|
|
url = "http://web.archive.org/web/20170709124317/http://www.impallari.com/media/releases/quattrocento-sans-v${version}.zip";
|
|
|
|
postFetch = ''
|
|
mkdir -p $out/share/{fonts,doc}
|
|
unzip -j $downloadedFile '*/QuattrocentoSans*.otf' -d $out/share/fonts/opentype
|
|
unzip -j $downloadedFile '*/FONTLOG.txt' -d $out/share/doc/${name}
|
|
'';
|
|
|
|
sha256 = "0g8hnn92ks4y0jbizwj7yfa097lk887wqkqpqjdmc09sd2n44343";
|
|
|
|
meta = with lib; {
|
|
homepage = "http://www.impallari.com/quattrocentosans/";
|
|
description = "A classic, elegant and sober sans-serif typeface";
|
|
license = licenses.ofl;
|
|
platforms = platforms.all;
|
|
maintainers = [maintainers.rycee];
|
|
};
|
|
}
|