liberation-sans-narrow: fonttools requires python3

This commit is contained in:
Keito Kajitani 2019-11-04 15:21:57 +09:00 committed by Frederik Rietdijk
parent d7a618ac01
commit b076565429

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, fontforge, pythonPackages, python }: { stdenv, fetchFromGitHub, fontforge, python3Packages, python3 }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "liberation-sans-narrow"; pname = "liberation-sans-narrow";
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "1qw554jbdnqkg6pjjl4cqkgsalq3398kzvww2naw30vykcz752bm"; sha256 = "1qw554jbdnqkg6pjjl4cqkgsalq3398kzvww2naw30vykcz752bm";
}; };
buildInputs = [ fontforge pythonPackages.fonttools python ]; buildInputs = [ fontforge python3Packages.fonttools python3 ];
installPhase = '' installPhase = ''
find . -name '*Narrow*.ttf' -exec install -m444 -Dt $out/share/fonts/truetype {} \; find . -name '*Narrow*.ttf' -exec install -m444 -Dt $out/share/fonts/truetype {} \;