diff options
author | Volth <volth@webmaster.ms> | 2017-08-12 14:22:45 +0000 |
---|---|---|
committer | Volth <volth@webmaster.ms> | 2017-09-18 21:44:00 +0000 |
commit | 04dacfbf1c5b306875b8a136411e952771dc150d (patch) | |
tree | 948b23d8b450194d65e44c03684863cca9eb220a /pkgs/data/fonts/rictydiminished-with-firacode | |
parent | 38c14d71329c3fa760ea602f09b380b3cd0bdbc2 (diff) | |
download | nixpkgs-04dacfbf1c5b306875b8a136411e952771dc150d.tar nixpkgs-04dacfbf1c5b306875b8a136411e952771dc150d.tar.gz nixpkgs-04dacfbf1c5b306875b8a136411e952771dc150d.tar.bz2 nixpkgs-04dacfbf1c5b306875b8a136411e952771dc150d.tar.lz nixpkgs-04dacfbf1c5b306875b8a136411e952771dc150d.tar.xz nixpkgs-04dacfbf1c5b306875b8a136411e952771dc150d.tar.zst nixpkgs-04dacfbf1c5b306875b8a136411e952771dc150d.zip |
data/fonts: make derivations fixed-outputs (group of fontforge compiled fonts)
Diffstat (limited to 'pkgs/data/fonts/rictydiminished-with-firacode')
-rw-r--r-- | pkgs/data/fonts/rictydiminished-with-firacode/default.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/data/fonts/rictydiminished-with-firacode/default.nix b/pkgs/data/fonts/rictydiminished-with-firacode/default.nix index 074fceeac94..45618972c34 100644 --- a/pkgs/data/fonts/rictydiminished-with-firacode/default.nix +++ b/pkgs/data/fonts/rictydiminished-with-firacode/default.nix @@ -11,6 +11,13 @@ stdenv.mkDerivation rec { }; buildPhase = '' + substituteInPlace apply-feature.py --replace \ + 'ricty = ttLib.TTFont(options.in_font)' \ + 'ricty = ttLib.TTFont(options.in_font, recalcTimestamp=False)' + substituteInPlace build-py3.py --replace \ + 'datetime.date.today()' \ + 'datetime.date.fromtimestamp(float(os.environ["SOURCE_DATE_EPOCH"]))' + make ''; @@ -28,6 +35,10 @@ stdenv.mkDerivation rec { ])) ]; + outputHashAlgo = "sha256"; + outputHashMode = "recursive"; + outputHash = "09ldviapljn4bb1mcxap2pkz7cq3wr2k2qialbnav5y7ii82acd4"; + meta = with stdenv.lib; { homepage = https://github.com/hakatashi/RictyDiminished-with-FiraCode; description = "The best Japanese programming font meets the awesone ligatures of Firacode"; |