From 44d07eda712c5891c198ed57245be7851761f183 Mon Sep 17 00:00:00 2001 From: Michiel Leenaars Date: Mon, 20 Aug 2018 16:34:54 +0200 Subject: [PATCH] penna-font: init at 0.10 --- pkgs/data/fonts/penna/default.nix | 32 +++++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 34 insertions(+) create mode 100644 pkgs/data/fonts/penna/default.nix diff --git a/pkgs/data/fonts/penna/default.nix b/pkgs/data/fonts/penna/default.nix new file mode 100644 index 000000000000..893553a62ce2 --- /dev/null +++ b/pkgs/data/fonts/penna/default.nix @@ -0,0 +1,32 @@ +{ stdenv, fetchzip }: + +let + majorVersion = "0"; + minorVersion = "10"; + pname = "penna"; +in + +fetchzip rec { + name = "${pname}-font-${majorVersion}.${minorVersion}"; + + url = "http://dotcolon.net/DL/font/${pname}.zip"; + sha256 = "0hk15yndm56l6rbdykpkry2flffx0567mgjcqcnsx1iyzwwla5km"; + + postFetch = '' + mkdir -p $out/share/fonts/opentype/${pname} + unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype/${pname} + ''; + + meta = with stdenv.lib; { + homepage = "http://dotcolon.net/font/{pname}/"; + description = "Geometric sans serif designed by Sora Sagano"; + longDescription = '' + Penna is a geometric sans serif designed by Sora Sagano, + with outsized counters in the uppercase and a lowercase + with a small x-height. + ''; + platforms = platforms.all; + maintainers = with maintainers; [ leenaars ]; + license = licenses.cc0; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 2d76c3e32a36..26fb17088065 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15019,6 +15019,8 @@ with pkgs; pari-seadata-small = callPackage ../data/misc/pari-seadata-small {}; + penna = callPackage ../data/fonts/penna { }; + poly = callPackage ../data/fonts/poly { }; polytopes_db = callPackage ../data/misc/polytopes_db { };