inconsolata: revert to working unstable version

An update to an unstable version of google-fonts broke the Inconsolata
monospace font in programs that use xft such as urxvt. This patch reverts
some inconsolata back to a working version.

cc @jakubgs @06kellyjac @petabyteboy @tu-maurice

Signed-off-by: William Casarin <jb55@jb55.com>

+9 -3
+9 -3
pkgs/data/fonts/inconsolata/default.nix
··· 1 - { lib, stdenv, google-fonts }: 2 3 stdenv.mkDerivation { 4 pname = "inconsolata"; 5 6 - inherit (google-fonts) src version; 7 8 installPhase = '' 9 - install -m644 --target $out/share/fonts/truetype/inconsolata -D $src/ofl/inconsolata/static/*.ttf 10 ''; 11 12 meta = with lib; {
··· 1 + { lib, stdenv, fetchFromGitHub }: 2 3 stdenv.mkDerivation { 4 pname = "inconsolata"; 5 + version = "unstable-2021-01-19"; 6 7 + src = fetchFromGitHub { 8 + owner = "google"; 9 + repo = "fonts"; 10 + rev = "f113126dc4b9b1473d9354a86129c9d7b837aa1a"; 11 + sha256 = "0safw5prpa63mqcyfw3gr3a535w4c9hg5ayw5pkppiwil7n3pyxs"; 12 + }; 13 14 installPhase = '' 15 + install -m644 --target $out/share/fonts/truetype/inconsolata -D $src/ofl/inconsolata/*.ttf 16 ''; 17 18 meta = with lib; {