uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
25
pkgs/data/fonts/inconsolata/default.nix
Normal file
25
pkgs/data/fonts/inconsolata/default.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{ lib, stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "inconsolata";
|
||||
version = "unstable-2021-01-19";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "google";
|
||||
repo = "fonts";
|
||||
rev = "f113126dc4b9b1473d9354a86129c9d7b837aa1a";
|
||||
sha256 = "0safw5prpa63mqcyfw3gr3a535w4c9hg5ayw5pkppiwil7n3pyxs";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
install -m644 --target $out/share/fonts/truetype/inconsolata -D $src/ofl/inconsolata/*.ttf
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.levien.com/type/myfonts/inconsolata.html";
|
||||
description = "A monospace font for both screen and print";
|
||||
maintainers = with maintainers; [ mikoim raskin ];
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
52
pkgs/data/fonts/inconsolata/lgc.nix
Normal file
52
pkgs/data/fonts/inconsolata/lgc.nix
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
{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 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue