From 10c7a4d1764c198586ba62b0516def1a04c1e076 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Mon, 24 Feb 2020 03:10:20 +0100 Subject: rictydiminished-with-firacode: 1.2.0 → 1.2.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fonts/rictydiminished-with-firacode/default.nix | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) (limited to 'pkgs/data/fonts/rictydiminished-with-firacode/default.nix') diff --git a/pkgs/data/fonts/rictydiminished-with-firacode/default.nix b/pkgs/data/fonts/rictydiminished-with-firacode/default.nix index bf19fb8238f..ccfc72dc180 100644 --- a/pkgs/data/fonts/rictydiminished-with-firacode/default.nix +++ b/pkgs/data/fonts/rictydiminished-with-firacode/default.nix @@ -1,13 +1,13 @@ -{ stdenv, fetchgit, fontforge, python2, python3 }: +{ stdenv, fetchgit, fontforge, python3 }: stdenv.mkDerivation rec { pname = "rictydiminished-with-firacode"; - version = "1.2.0"; + version = "1.2.2"; src = fetchgit { url = "https://github.com/hakatashi/RictyDiminished-with-FiraCode.git"; rev = version; - sha256 = "1vlzx5dsx6j9d9q84pdnwcxjy7mr1sv8sacx0zgfxhxnj66n1gnn"; + sha256 = "sha256-twh3yLAM4MUjWzSDNmo8gNIRf01hieXeOS334sNdFk4="; fetchSubmodules = true; }; @@ -16,7 +16,7 @@ stdenv.mkDerivation rec { substituteInPlace apply-feature.py --replace \ 'ricty = ttLib.TTFont(options.in_font)' \ 'ricty = ttLib.TTFont(options.in_font, recalcTimestamp=False)' - substituteInPlace build-py3.py --replace \ + substituteInPlace build.py --replace \ 'datetime.date.today()' \ 'datetime.date.fromtimestamp(float(os.environ["SOURCE_DATE_EPOCH"]))' ''; @@ -30,21 +30,16 @@ stdenv.mkDerivation rec { ''; nativeBuildInputs = [ - # Python 3 not supported by parts of the build system - # https://github.com/hakatashi/RictyDiminished-with-FiraCode/pull/3 - (fontforge.override { - python = python2; - }) (python3.withPackages (ps: [ ps.jinja2 - ps.py3to2 ps.fonttools + ps.fontforge ])) ]; meta = with stdenv.lib; { homepage = "https://github.com/hakatashi/RictyDiminished-with-FiraCode"; - description = "The best Japanese programming font meets the awesone ligatures of Firacode"; + description = "The best Japanese programming font meets the awesome ligatures of Firacode"; license = licenses.ofl; platforms = platforms.all; maintainers = with maintainers; [ mt-caret ]; -- cgit 1.4.1