mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-14 17:04:42 +00:00
4f0dadbf38
After final improvements to the official formatter implementation, this commit now performs the first treewide reformat of Nix files using it. This is part of the implementation of RFC 166. Only "inactive" files are reformatted, meaning only files that aren't being touched by any PR with activity in the past 2 months. This is to avoid conflicts for PRs that might soon be merged. Later we can do a full treewide reformat to get the rest, which should not cause as many conflicts. A CI check has already been running for some time to ensure that new and already-formatted files are formatted, so the files being reformatted here should also stay formatted. This commit was automatically created and can be verified using nix-builda08b3a4d19
.tar.gz \ --argstr baseRevb32a094368
result/bin/apply-formatting $NIXPKGS_PATH
61 lines
1.7 KiB
Nix
61 lines
1.7 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
fontforge,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "inconsolata-lgc";
|
|
version = "1.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "MihailJP";
|
|
repo = "Inconsolata-LGC";
|
|
rev = "8adfef7a7316fcd2e9a5857054c7cdb2babeb35d";
|
|
sha256 = "0dqjj3mlc28s8ljnph6l086b4j9r5dly4fldq59crycwys72zzai";
|
|
};
|
|
|
|
nativeBuildInputs = [ fontforge ];
|
|
|
|
installPhase = ''
|
|
find . -name '*.ttf' -exec install -m444 -Dt $out/share/fonts/truetype {} \;
|
|
find . -name '*.otf' -exec install -m444 -Dt $out/share/fonts/opentype {} \;
|
|
install -m444 -Dt $out/share/doc/${pname}-${version} LICENSE README
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Fork of Inconsolata font, with proper support of Cyrillic and Greek";
|
|
longDescription = ''
|
|
Inconsolata is one of the most suitable font for programmers created by Raph
|
|
Levien. Since the original Inconsolata does not contain Cyrillic alphabet,
|
|
it was slightly inconvenient for not a few programmers from Russia.
|
|
|
|
Inconsolata LGC is a modified version of Inconsolata with added the Cyrillic
|
|
alphabet which directly descends from Inconsolata Hellenic supporting modern
|
|
Greek.
|
|
|
|
Inconsolata LGC is licensed under SIL OFL.
|
|
|
|
|
|
Inconsolata LGC changes:
|
|
* Cyrillic glyphs added.
|
|
* Italic and Bold font added.
|
|
|
|
Changes inherited from Inconsolata Hellenic:
|
|
* Greek glyphs.
|
|
|
|
Changes inherited from Inconsolata-dz:
|
|
* Straight quotation marks.
|
|
'';
|
|
|
|
# See `License.txt' for details.
|
|
license = licenses.ofl;
|
|
homepage = "https://github.com/MihailJP/Inconsolata-LGC";
|
|
maintainers = with maintainers; [
|
|
avnik
|
|
rht
|
|
];
|
|
};
|
|
}
|