Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1deb406ac272
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 226dc2178e7b
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Jun 2, 2019

  1. xits-math: 1.108 -> 1.200

    abbradar committed Jun 2, 2019
    Copy the full SHA
    226dc21 View commit details
Showing with 4 additions and 8 deletions.
  1. +4 −8 pkgs/data/fonts/xits-math/default.nix
12 changes: 4 additions & 8 deletions pkgs/data/fonts/xits-math/default.nix
Original file line number Diff line number Diff line change
@@ -2,23 +2,19 @@

stdenv.mkDerivation rec {
name = "xits-math-${version}";
version = "1.108";
version = "1.200";

src = fetchFromGitHub {
owner = "khaledhosny";
repo = "xits-math";
owner = "alif-type";
repo = "xits";
rev = "v${version}";
sha256 = "08nn676c41a7gmmhrzi8mm0g74z8aiaafjk48pqcwxvjj9av7xjg";
sha256 = "0s1qqqg3zv9k4wqn1vkx0z895fjccg96n58syc1d5f2wba9kyfcm";
};

nativeBuildInputs = [ fontforge ] ++ (with python2Packages; [ python fonttools ]);

postPatch = ''
rm *.otf
substituteInPlace tools/postprocess.py --replace \
'font = ttLib.TTFont(sys.argv[1])' \
'font = ttLib.TTFont(sys.argv[1], recalcTimestamp=False)'
'';

installPhase = ''