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
31
pkgs/data/fonts/powerline-fonts/default.nix
Normal file
31
pkgs/data/fonts/powerline-fonts/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ lib, fetchFromGitHub }:
|
||||
|
||||
fetchFromGitHub {
|
||||
name = "powerline-fonts-2018-11-11";
|
||||
|
||||
owner = "powerline";
|
||||
repo = "fonts";
|
||||
rev = "e80e3eba9091dac0655a0a77472e10f53e754bb0";
|
||||
|
||||
postFetch = ''
|
||||
tar xf $downloadedFile --strip=1
|
||||
find . -name '*.otf' -exec install -Dt $out/share/fonts/opentype {} \;
|
||||
find . -name '*.ttf' -exec install -Dt $out/share/fonts/truetype {} \;
|
||||
find . -name '*.bdf' -exec install -Dt $out/share/fonts/bdf {} \;
|
||||
find . -name '*.pcf.gz' -exec install -Dt $out/share/fonts/pcf {} \;
|
||||
find . -name '*.psf.gz' -exec install -Dt $out/share/consolefonts {} \;
|
||||
'';
|
||||
|
||||
sha256 = "0r8p4z3db17f5p8jr7sv80nglmjxhg83ncfvwg1dszldswr0dhvr";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/powerline/fonts";
|
||||
description = "Patched fonts for Powerline users";
|
||||
longDescription = ''
|
||||
Pre-patched and adjusted fonts for usage with the Powerline plugin.
|
||||
'';
|
||||
license = with licenses; [ asl20 free ofl ];
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ malyn ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue