about summary refs log tree commit diff
path: root/pkgs/data/fonts
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2020-02-24 03:10:20 +0100
committerJan Tojnar <jtojnar@gmail.com>2020-02-24 03:10:20 +0100
commit10c7a4d1764c198586ba62b0516def1a04c1e076 (patch)
treea04e4c32982fa4173c323a6186668425b282ba7c /pkgs/data/fonts
parent2702da0d8fa029d2d664d4bed33200c13c5965c6 (diff)
downloadnixlib-10c7a4d1764c198586ba62b0516def1a04c1e076.tar
nixlib-10c7a4d1764c198586ba62b0516def1a04c1e076.tar.gz
nixlib-10c7a4d1764c198586ba62b0516def1a04c1e076.tar.bz2
nixlib-10c7a4d1764c198586ba62b0516def1a04c1e076.tar.lz
nixlib-10c7a4d1764c198586ba62b0516def1a04c1e076.tar.xz
nixlib-10c7a4d1764c198586ba62b0516def1a04c1e076.tar.zst
nixlib-10c7a4d1764c198586ba62b0516def1a04c1e076.zip
rictydiminished-with-firacode: 1.2.0 → 1.2.2
Diffstat (limited to 'pkgs/data/fonts')
-rw-r--r--pkgs/data/fonts/rictydiminished-with-firacode/default.nix17
1 files changed, 6 insertions, 11 deletions
diff --git a/pkgs/data/fonts/rictydiminished-with-firacode/default.nix b/pkgs/data/fonts/rictydiminished-with-firacode/default.nix
index bf19fb8238ff..ccfc72dc1809 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 ];