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
30
pkgs/data/fonts/fira-code/default.nix
Normal file
30
pkgs/data/fonts/fira-code/default.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{ lib, fetchzip }:
|
||||
|
||||
let
|
||||
version = "6.2";
|
||||
in fetchzip {
|
||||
name = "fira-code-${version}";
|
||||
|
||||
url = "https://github.com/tonsky/FiraCode/releases/download/${version}/Fira_Code_v${version}.zip";
|
||||
|
||||
# only extract the variable font because everything else is a duplicate
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts
|
||||
unzip -j $downloadedFile '*-VF.ttf' -d $out/share/fonts/truetype
|
||||
'';
|
||||
|
||||
sha256 = "0l02ivxz3jbk0rhgaq83cqarqxr07xgp7n27l0fh8fbgxwi52djl";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/tonsky/FiraCode";
|
||||
description = "Monospace font with programming ligatures";
|
||||
longDescription = ''
|
||||
Fira Code is a monospace font extending the Fira Mono font with
|
||||
a set of ligatures for common programming multi-character
|
||||
combinations.
|
||||
'';
|
||||
license = licenses.ofl;
|
||||
maintainers = [ maintainers.rycee ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
26
pkgs/data/fonts/fira-code/symbols.nix
Normal file
26
pkgs/data/fonts/fira-code/symbols.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ lib, fetchzip }:
|
||||
|
||||
fetchzip {
|
||||
name = "fira-code-symbols-20160811";
|
||||
|
||||
url = "https://github.com/tonsky/FiraCode/files/412440/FiraCode-Regular-Symbol.zip";
|
||||
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts
|
||||
unzip -j $downloadedFile -d $out/share/fonts/opentype
|
||||
'';
|
||||
|
||||
sha256 = "19krsp22rin74ix0i19v4bh1c965g18xkmz1n55h6n6qimisnbkm";
|
||||
|
||||
meta = with lib; {
|
||||
description = "FiraCode unicode ligature glyphs in private use area";
|
||||
longDescription = ''
|
||||
FiraCode uses ligatures, which some editors don’t support.
|
||||
This addition adds them as glyphs to the private unicode use area.
|
||||
See https://github.com/tonsky/FiraCode/issues/211.
|
||||
'';
|
||||
license = licenses.ofl;
|
||||
maintainers = [ maintainers.Profpatsch ];
|
||||
homepage = "https://github.com/tonsky/FiraCode/issues/211#issuecomment-239058632";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue