1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

Merge pull request #136647 from jb55/inconsolata-fix

This commit is contained in:
Sandro 2021-10-16 19:13:51 +02:00 committed by GitHub
commit 9d2f5ff63e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,12 +1,18 @@
{ lib, stdenv, google-fonts }:
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation {
pname = "inconsolata";
version = "unstable-2021-01-19";
inherit (google-fonts) src version;
src = fetchFromGitHub {
owner = "google";
repo = "fonts";
rev = "f113126dc4b9b1473d9354a86129c9d7b837aa1a";
sha256 = "0safw5prpa63mqcyfw3gr3a535w4c9hg5ayw5pkppiwil7n3pyxs";
};
installPhase = ''
install -m644 --target $out/share/fonts/truetype/inconsolata -D $src/ofl/inconsolata/static/*.ttf
install -m644 --target $out/share/fonts/truetype/inconsolata -D $src/ofl/inconsolata/*.ttf
'';
meta = with lib; {